ListField.GetAccessibleChild 方法
擷取指定索引相對應的可存取子系子欄位。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Overrides Function GetAccessibleChild ( _
parentShape As ShapeElement, _
index As Integer _
) As ShapeSubField
public override ShapeSubField GetAccessibleChild(
ShapeElement parentShape,
int index
)
參數
- parentShape
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
包含此 ShapeField ShapeElement。
- index
型別:System.Int32
可存取子系的子欄位之以零起始的索引。
傳回值
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。