MimePartCollection.Contains Method (MimePart)

 

Returns a value indicating whether the specified MimePart is a member of the MimePartCollection.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

member Contains : 
        mimePart:MimePart -> bool

Parameters

mimePart
Type: System.Web.Services.Description.MimePart

The MimePart to check for collection membership.

Return Value

Type: System.Boolean

true if the mimePart parameter is a member of the MimePartCollection; otherwise, false.

The following example demonstrates a typical use of the Contains method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: