Message.FindPartByName Method (String)

 

Searches the MessagePartCollection returned by the Parts property, and returns the named MessagePart.

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

member FindPartByName : 
        partName:string -> MessagePart

Parameters

partName
Type: System.String

A string that names the MessagePart to be returned.

Exception Condition
ArgumentException

No MessagePart with the specified name exists within the collection.

The following example demonstrates the use of the FindPartByName method.

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

.NET Framework
Available since 1.1
Return to top
Show: