Decorator.GetHostShape 方法
取得主應用程式圖案。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Overridable Function GetHostShape ( _
rootShape As ShapeElement _
) As DecoratorHostShape
public virtual DecoratorHostShape GetHostShape(
ShapeElement rootShape
)
參數
- rootShape
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
指派給主機] 圖形的圖形。
傳回值
型別:Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
主應用程式] 圖形中。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。