共用方式為


SelectionState.CoercedSelectionModelElements Property

It is possible for the CoercedSelection to include Pels and Mels which are associated with Pels that are not already included. This method returns a list that replaces the Pels in the coerced selection with their associated Mels, plus any mels from the coerced selection that did not have pels.

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

Syntax

'宣告
Public ReadOnly Property CoercedSelectionModelElements As ICollection
    Get
public ICollection CoercedSelectionModelElements { get; }
public:
property ICollection^ CoercedSelectionModelElements {
    ICollection^ get ();
}
member CoercedSelectionModelElements : ICollection
function get CoercedSelectionModelElements () : ICollection

Property Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

SelectionState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace