共用方式為


EmptySelection.CoercedSelection 屬性

我們必須在此傳回空的集合以造成強制型轉失敗。 這是有點怪,但需要 SelectionState.IsCoercionFailure 的指定實作。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Public Overrides ReadOnly Property CoercedSelection As ICollection
public override ICollection CoercedSelection { get; }

屬性值

類型:System.Collections.ICollection

.NET Framework 安全性

請參閱

參考

EmptySelection 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間