共用方式為


ModelingWindowPane.SelectedElements Property

Gets the elements that are selected 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 ReadOnly Property SelectedElements As IList
    Get
protected IList SelectedElements { get; }
protected:
property IList^ SelectedElements {
    IList^ get ();
}
member SelectedElements : IList
function get SelectedElements () : IList

Property Value

Type: System.Collections.IList
The elements that are selected in the window pane.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace