DslDefinitionModelDomainModel.CreateElement メソッド

指定された型の要素を作成します。

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

構文

'宣言
Public Overrides NotOverridable Function CreateElement ( _
    partition As Partition, _
    elementType As Type, _
    propertyAssignments As PropertyAssignment() _
) As ModelElement
public override sealed ModelElement CreateElement(
    Partition partition,
    Type elementType,
    PropertyAssignment[] propertyAssignments
)

パラメーター

  • elementType
    型 : System.Type
    このドメイン モデルに属する要素の型。

戻り値

型 : Microsoft.VisualStudio.Modeling.ModelElement
作成された配列。

.NET Framework セキュリティ

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

参照

関連項目

DslDefinitionModelDomainModel クラス

Microsoft.VisualStudio.Modeling.DslDefinition 名前空間