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

public static WebPartAdder.Selector Parse(
	string selectorString
)

Parameters

selectorString
Type: System.String

The string representation of the WebPartAdder.Selector.

Return Value

Type: Microsoft.SharePoint.WebPartPages.WebPartAdder.Selector
The equivalent selector structure.

This method calls the TryParse(String, WebPartAdder.Selector) method to convert the string representation to the equivalent WebPartAdder.Selector structure.

Show: