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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。