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

Syntax

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

Property Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

SelectionState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace