MessagePartCollection.Contains Method (MessagePart)

 

Returns a value indicating whether the specified MessagePart is a member of the MessagePartCollection.

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

member Contains : 
        messagePart:MessagePart -> bool

Parameters

messagePart
Type: System.Web.Services.Description.MessagePart

The MessagePart for which to check collection membership.

Return Value

Type: System.Boolean

true if the messagePart parameter is a member of the MessagePartCollection; otherwise, false.

The following example demonstrates a 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: