共用方式為


SelectionState.CoercedSelectionModelElements 屬性

它有可能,Pels 和 Mels 關聯還沒有納入的 Pels CoercedSelection。這個方法會傳回取代其相關聯的 Mels,加上任何強制型轉不具有 pels 的選取範圍中的 mels 的 Pels,強制型轉的選取範圍中的清單。

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

語法

'宣告
Public ReadOnly Property CoercedSelectionModelElements As ICollection
public ICollection CoercedSelectionModelElements { get; }

屬性值

型別:System.Collections.ICollection

.NET Framework 安全性

請參閱

參考

SelectionState 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間