SPWebPartTransformerCollection.IndexOf Method

Gets the Web Part transformer at a particular index in the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function IndexOf ( _
    transformer As WebPartTransformer _
) As Integer
'Usage
Dim instance As SPWebPartTransformerCollection
Dim transformer As WebPartTransformer
Dim returnValue As Integer

returnValue = instance.IndexOf(transformer)
public int IndexOf(
    WebPartTransformer transformer
)

Parameters

Return Value

Type: System.Int32

See Also

Reference

SPWebPartTransformerCollection Class

SPWebPartTransformerCollection Members

Microsoft.SharePoint.WebPartPages Namespace