WebPartAdder.SelectorCollection.Add Method (String)
Adds a WebPartAdder.Selector object to the WebPartAdder.SelectorCollection.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Add ( _
selectorString As String _
)
'Usage
Dim instance As WebPartAdder.SelectorCollection
Dim selectorString As String
instance.Add(selectorString)
public void Add(
string selectorString
)
Parameters
selectorString
Type: System.StringThe string that represents the WebPartAdder.Selector object.
Remarks
This method adds a WebPartAdder.Selector to the current WebPartAdder.SelectorCollection by creating the selector from its string representation.
See Also
Reference
WebPartAdder.SelectorCollection Class