共用方式為


ModelingWindowPane.GetAllObjects Method

Gets all elements in the window pane.

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

Syntax

'宣告
Protected Overridable Sub GetAllObjects ( _
    count As UInteger, _
    objects As Object() _
)
protected virtual void GetAllObjects(
    uint count,
    Object[] objects
)
protected:
virtual void GetAllObjects(
    unsigned int count, 
    array<Object^>^ objects
)
abstract GetAllObjects : 
        count:uint32 * 
        objects:Object[] -> unit 
override GetAllObjects : 
        count:uint32 * 
        objects:Object[] -> unit 
protected function GetAllObjects(
    count : uint, 
    objects : Object[]
)

Parameters

  • count
    Type: System.UInt32
    The number of elements in the window pane.

Remarks

By default this method calls GetSelectedObjects.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace