次の方法で共有


ExtensionMethods.FindVocabularyAnnotations メソッド (IEdmModel, IEdmVocabularyAnnotatable)

特定のモデルおよびその参照先モデルで定義されている注釈付け可能な要素のボキャブラリ注釈を取得します。

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

構文

'宣言
<ExtensionAttribute> _
Public Shared Function FindVocabularyAnnotations ( _
    model As IEdmModel, _
    element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'使用
Dim model As IEdmModel
Dim element As IEdmVocabularyAnnotatable
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)

returnValue = model.FindVocabularyAnnotations(element)
public static IEnumerable<IEdmVocabularyAnnotation> FindVocabularyAnnotations(
    this IEdmModel model,
    IEdmVocabularyAnnotatable element
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmVocabularyAnnotation^>^ FindVocabularyAnnotations(
    IEdmModel^ model, 
    IEdmVocabularyAnnotatable^ element
)
static member FindVocabularyAnnotations : 
        model:IEdmModel * 
        element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation> 
public static function FindVocabularyAnnotations(
    model : IEdmModel, 
    element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>

パラメーター

戻り値

型: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
このモデルまたはその参照先モデルによって要素に適用された注釈。

使用に関するメモ

Visual Basic および C# では、このメソッドを型 IEdmModel の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。

関連項目

参照

ExtensionMethods クラス

FindVocabularyAnnotations オーバーロード

Microsoft.Data.Edm 名前空間