SPWebPartTransformerCollection.Add Method

Adds a Web Part transformer to the collection.

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

Syntax

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

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

Parameters

Return Value

Type: System.Int32

See Also

Reference

SPWebPartTransformerCollection Class

SPWebPartTransformerCollection Members

Microsoft.SharePoint.WebPartPages Namespace