Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public Function RemoveAt ( _
index As Integer _
) As Boolean
'Usage
Dim instance As MimePartContentDescription
Dim index As Integer
Dim returnValue As Boolean
returnValue = instance.RemoveAt(index)
public bool RemoveAt(
int index
)
Parameters
- index
Type: System.Int32
The zero-based index of the MIME part to remove.
Return Value
Type: System.Boolean
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
Reference
MimePartContentDescription Class