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