Partilhar via


SelectionState.CoercionCompliantSelection Property

Returns the list of selected objects which comply with the coercion rules. If the selection is coercable, then the coerced selection will be returned; if there is a coercion failure the list will be empty. If there are no coercion rules (!IsCoercable), then the actual selection is returned.

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

Syntax

'Declaração
Public ReadOnly Property CoercionCompliantSelection As ICollection
    Get
public ICollection CoercionCompliantSelection { get; }
public:
property ICollection^ CoercionCompliantSelection {
    ICollection^ get ();
}
member CoercionCompliantSelection : ICollection
function get CoercionCompliantSelection () : ICollection

Property Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

SelectionState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace