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
- transformer
Type: System.Web.UI.WebControls.WebParts.WebPartTransformer
Return Value
Type: System.Int32
See Also
Reference
SPWebPartTransformerCollection Class