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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: System.Collections.ICollection
.NET Framework Security
- 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.