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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Function ToArray As T()
'Usage
Dim instance As ReadOnlyLinkedElementCollection
Dim returnValue As T()
returnValue = instance.ToArray()
public T[] ToArray()
public:
array<T>^ ToArray()
public function ToArray() : T[]
Return Value
Type: array<T[]
An array of all role players in the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ReadOnlyLinkedElementCollection<T> Class