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
- 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.