MimePartContentDescription.Remove Method
Removes the first occurrence of a MIME part from the list of child MIME parts.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Remove ( _
part As MimePartContentDescription _
) As Boolean
'Usage
Dim instance As MimePartContentDescription
Dim part As MimePartContentDescription
Dim returnValue As Boolean
returnValue = instance.Remove(part)
public bool Remove(
MimePartContentDescription part
)
Parameters
- part
Type: Microsoft.Rtc.Collaboration.MimePartContentDescription
The MIME part to remove.
Return Value
Type: System.Boolean
True if the MIME part is successfully removed; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the argument supplied is null. |
See Also
Reference
MimePartContentDescription Class