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

Visual Basic (Declaration)
Public 
Function 
Remove ( _
	
part 
As 

MimePartContentDescription _
) 
As 
Boolean
C#
public 
bool 
Remove(
	

MimePartContentDescription 
part
)
Visual C++
public:
bool 
Remove(
	

MimePartContentDescription^ 
part
)
JavaScript
function 
remove(
part);

Parameters

part
Type: Microsoft.Rtc.Collaboration . . :: . MimePartContentDescription
The MIME part to remove.

Return Value

True if the MIME part is successfully removed; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException Thrown when the argument supplied is null.

See Also