EmptySelection.CoercedSelection 属性

我们需要返回空集合此处导致强制失败。 这有点儿多的,但是, SelectionState.IsCoercionFailure 必要的特定实现。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Overrides ReadOnly Property CoercedSelection As ICollection
public override ICollection CoercedSelection { get; }

属性值

类型:System.Collections.ICollection

.NET Framework 安全性

请参见

参考

EmptySelection 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间