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