Freigeben über


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

Syntax

'Declaration
Public Overrides ReadOnly Property CoercedSelection As ICollection
    Get
public override ICollection CoercedSelection { get; }
public:
virtual property ICollection^ CoercedSelection {
    ICollection^ get () override;
}
abstract CoercedSelection : ICollection
override CoercedSelection : ICollection
override function get CoercedSelection () : ICollection

Property Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

EmptySelection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace