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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public ReadOnly Property CoercedSelectionModelElements As ICollection
public ICollection CoercedSelectionModelElements { get; }
public:
property ICollection^ CoercedSelectionModelElements {
    ICollection^ get ();
}
member CoercedSelectionModelElements : ICollection with get
function get CoercedSelectionModelElements () : ICollection

Property Value

Type: ICollection

.NET Framework Security

See Also

Reference

SelectionState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace