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