WebPartAdder.SelectorCollection.ToArray Method
Copies the entire WebPartAdder.SelectorCollection to a compatible one-dimensional array and returns the array.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function ToArray As WebPartAdder.Selector()
'Usage
Dim instance As WebPartAdder.SelectorCollection
Dim returnValue As WebPartAdder.Selector()
returnValue = instance.ToArray()
public WebPartAdder.Selector[] ToArray()
Return Value
Type: []
An array that contains the WebPartAdder.Selector objects within the current WebPartAdder.SelectorCollection.
Remarks
The WebPartAdder.Selector objects are copied to the array in the same order in which the enumerator iterates through the WebPartAdder.SelectorCollection.
See Also
Reference
WebPartAdder.SelectorCollection Class