特定のモデルから見た注釈付け可能な要素のボキャブラリ注釈を取得します。
名前空間: Microsoft.Data.Edm
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function VocabularyAnnotations ( _
element As IEdmVocabularyAnnotatable, _
model As IEdmModel _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'使用
Dim element As IEdmVocabularyAnnotatable
Dim model As IEdmModel
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)
returnValue = element.VocabularyAnnotations(model)
public static IEnumerable<IEdmVocabularyAnnotation> VocabularyAnnotations(
this IEdmVocabularyAnnotatable element,
IEdmModel model
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmVocabularyAnnotation^>^ VocabularyAnnotations(
IEdmVocabularyAnnotatable^ element,
IEdmModel^ model
)
static member VocabularyAnnotations :
element:IEdmVocabularyAnnotatable *
model:IEdmModel -> IEnumerable<IEdmVocabularyAnnotation>
public static function VocabularyAnnotations(
element : IEdmVocabularyAnnotatable,
model : IEdmModel
) : IEnumerable<IEdmVocabularyAnnotation>
パラメーター
- element
型: Microsoft.Data.Edm.IEdmVocabularyAnnotatable
呼び出し元オブジェクトへの参照。
- model
型: Microsoft.Data.Edm.IEdmModel
注釈をチェックするモデル。
戻り値
型: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
このモデルまたはその参照先モデルによって要素に適用された注釈。
使用に関するメモ
Visual Basic および C# では、このメソッドを型 IEdmVocabularyAnnotatable の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。