次の方法で共有


ExtensionMethods.FindPropertyBinding メソッド (IEdmTypeAnnotation, IEdmProperty)

型注釈の型タームのプロパティのバインディングを取得します。

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

構文

'宣言
<ExtensionAttribute> _
Public Shared Function FindPropertyBinding ( _
    annotation As IEdmTypeAnnotation, _
    property As IEdmProperty _
) As IEdmPropertyValueBinding
'使用
Dim annotation As IEdmTypeAnnotation
Dim property As IEdmProperty
Dim returnValue As IEdmPropertyValueBinding

returnValue = annotation.FindPropertyBinding(property)
public static IEdmPropertyValueBinding FindPropertyBinding(
    this IEdmTypeAnnotation annotation,
    IEdmProperty property
)
[ExtensionAttribute]
public:
static IEdmPropertyValueBinding^ FindPropertyBinding(
    IEdmTypeAnnotation^ annotation, 
    IEdmProperty^ property
)
static member FindPropertyBinding : 
        annotation:IEdmTypeAnnotation * 
        property:IEdmProperty -> IEdmPropertyValueBinding 
public static function FindPropertyBinding(
    annotation : IEdmTypeAnnotation, 
    property : IEdmProperty
) : IEdmPropertyValueBinding

パラメーター

戻り値

型: Microsoft.Data.Edm.Annotations.IEdmPropertyValueBinding
型注釈に存在するプロパティのバインディング。バインディングが存在しない場合は null。

使用に関するメモ

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

関連項目

参照

ExtensionMethods クラス

FindPropertyBinding オーバーロード

Microsoft.Data.Edm 名前空間