ShapeField.GetAccessibleChildCount 方法
取得指派給父 shape 功能變數及子系圖形欄位的存取範圍物件的數目。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Overridable Function GetAccessibleChildCount ( _
parentShape As ShapeElement _
) As Integer
public virtual int GetAccessibleChildCount(
ShapeElement parentShape
)
參數
- parentShape
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Shape 功能變數指派給圖形的項目。
傳回值
型別:System.Int32
指派給父 shape 功能變數及子系圖形欄位的存取範圍物件的數目而定。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。