Removes the MIME part located at the specified
index of the list of child MIME parts.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
RemoveAt ( _
index
As
Integer _
)
As
Boolean
|
C# |
public
bool
RemoveAt(
int
index
)
|
Visual C++ |
public:
bool
RemoveAt(
int
index
)
|
JavaScript |
function
removeAt(
index);
|
Parameters
-
index
- Type:
Int32
The zero-based index of the MIME part to remove.
Return Value
True if the MIME part is
successfully removed; otherwise, false.
Exceptions
Exception |
Condition |
ArgumentOutOfRangeException
|
Thrown when the index is less than zero, or when the index is
greater than or equal to the number of child MIME parts. |
See Also