MimePartCollection.IndexOf Method (MimePart)

 

Searches for the specified MimePart and returns the zero-based index of the first occurrence within the collection.

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

member IndexOf : 
        mimePart:MimePart -> int

Parameters

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

The MimePart for which to search the MimePartCollection.

Return Value

Type: System.Int32

A 32-bit signed integer.

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

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

.NET Framework
Available since 1.1
Return to top
Show: