次の方法で共有


ShapeElement.CreateShapeFields メソッド

図形の種類の図形フィールドのコレクションを作成します。

名前空間:  Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 内)

構文

'宣言
Protected Function CreateShapeFields As List(Of ShapeField)
protected List<ShapeField> CreateShapeFields()

戻り値

型 : System.Collections.Generic.List<ShapeField>
図形の種類の図形フィールドのコレクション。

解説

このメソッドは、空の図形のフィールドのコレクションをインスタンスを作成した後 InitializeShapeFields() を呼び出します。

public override global::System.Collections.Generic.IList<DslDiagrams::ShapeField> ShapeFields
{
get
{
if (shapeFields == null)
{
shapeFields = CreateShapeFields();
}
return shapeFields;
}
}

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ShapeElement クラス

Microsoft.VisualStudio.Modeling.Diagrams 名前空間