ModelStore.CreateNamedAnnotation メソッド (Type, ModelIdentifier)
指定されたモデル識別子を使用して、名前付き ModelAnnotation オブジェクトを作成します。
名前空間: Microsoft.Data.Schema.SchemaModel
アセンブリ: Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Public Function CreateNamedAnnotation ( _
annotationType As Type, _
identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
Type annotationType,
ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
Type^ annotationType,
ModelIdentifier^ identifier
)
member CreateNamedAnnotation :
annotationType:Type *
identifier:ModelIdentifier -> IModelAnnotation
public function CreateNamedAnnotation(
annotationType : Type,
identifier : ModelIdentifier
) : IModelAnnotation
パラメーター
- annotationType
型: System.Type
AType、this派生
- identifier
型: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
注釈の名前を格納している ModelIdentifier。
戻り値
型: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
モデル注釈。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。