ReadOnlyLinkedElementCollection<T>.ToArray Method

Creates an array and copies all role players in the collection into it.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Function ToArray As T()
public T[] ToArray()
public:
array<T>^ ToArray()
member ToArray : unit -> 'T[] 
public function ToArray() : T[]

Return Value

Type: array<T[]
An array of all role players in the collection.

.NET Framework Security

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace