WebPartAdder.Selector.Parse Method
Converts the string representation of a selector to the equivalent WebPartAdder.Selector structure.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function Parse ( _
selectorString As String _
) As WebPartAdder.Selector
'Usage
Dim selectorString As String
Dim returnValue As WebPartAdder.Selector
returnValue = WebPartAdder.Selector.Parse(selectorString)
public static WebPartAdder.Selector Parse(
string selectorString
)
Parameters
selectorString
Type: System.StringThe string representation of the WebPartAdder.Selector.
Return Value
Type: Microsoft.SharePoint.WebPartPages.WebPartAdder.Selector
The equivalent selector structure.
Remarks
This method calls the TryParse(String, WebPartAdder.Selector) method to convert the string representation to the equivalent WebPartAdder.Selector structure.