Gets all elements in the model.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overrides Sub GetAllObjects ( _
count As UInteger, _
objects As Object() _
)
'使用
Dim count As UInteger
Dim objects As Object()
Me.GetAllObjects(count, objects)
protected override void GetAllObjects(
uint count,
Object[] objects
)
protected:
virtual void GetAllObjects(
unsigned int count,
array<Object^>^ objects
) override
protected override function GetAllObjects(
count : uint,
objects : Object[]
)
Parameters
count
Type: System.UInt32The number of elements in the model.
objects
Type: []The collection of elements to retrieve.
Remarks
The method invokes GetObjects.
Permissions
- 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.