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