次の方法で共有


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

パラメーター

戻り値

型: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
モデル注釈。

.NET Framework セキュリティ

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

参照

参照

ModelStore クラス

CreateNamedAnnotation オーバーロード

Microsoft.Data.Schema.SchemaModel 名前空間

ModelIdentifier

IModelAnnotation