次の方法で共有


ModelStore.CreateNamedAnnotation<TAnnotation> メソッド (ModelIdentifier)

指定されたモデル識別子を使用して、名前付き ModelAnnotation オブジェクトを作成します。

名前空間:  Microsoft.Data.Schema.SchemaModel
アセンブリ:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Function CreateNamedAnnotation(Of TAnnotation As IModelAnnotation) ( _
    identifier As ModelIdentifier _
) As TAnnotation
public TAnnotation CreateNamedAnnotation<TAnnotation>(
    ModelIdentifier identifier
)
where TAnnotation : IModelAnnotation
public:
generic<typename TAnnotation>
where TAnnotation : IModelAnnotation
TAnnotation CreateNamedAnnotation(
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        identifier:ModelIdentifier -> 'TAnnotation  when 'TAnnotation : IModelAnnotation
JScript では、ジェネリックな型またはメソッドは使用できません。

型パラメーター

パラメーター

戻り値

型: TAnnotation
名前付きモデル注釈。

.NET Framework セキュリティ

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

参照

参照

ModelStore クラス

CreateNamedAnnotation オーバーロード

Microsoft.Data.Schema.SchemaModel 名前空間

ModelIdentifier