Share via


EmptySelection.CoercedSelection Property

We need to return an empty collection here to cause a coercion failure. This is a bit odd, but necessary given implementation of SelectionState.IsCoercionFailure.

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 Overrides ReadOnly Property CoercedSelection As ICollection
public override ICollection CoercedSelection { get; }
public:
virtual property ICollection^ CoercedSelection {
    ICollection^ get () override;
}
abstract CoercedSelection : ICollection with get 
override CoercedSelection : ICollection with get
override function get CoercedSelection () : ICollection

Property Value

Type: ICollection

.NET Framework Security

See Also

Reference

EmptySelection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace