型注釈の型タームのプロパティのバインディングを取得します。
名前空間: Microsoft.Data.Edm
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function FindPropertyBinding ( _
annotation As IEdmTypeAnnotation, _
propertyName As String _
) As IEdmPropertyValueBinding
'使用
Dim annotation As IEdmTypeAnnotation
Dim propertyName As String
Dim returnValue As IEdmPropertyValueBinding
returnValue = annotation.FindPropertyBinding(propertyName)
public static IEdmPropertyValueBinding FindPropertyBinding(
this IEdmTypeAnnotation annotation,
string propertyName
)
[ExtensionAttribute]
public:
static IEdmPropertyValueBinding^ FindPropertyBinding(
IEdmTypeAnnotation^ annotation,
String^ propertyName
)
static member FindPropertyBinding :
annotation:IEdmTypeAnnotation *
propertyName:string -> IEdmPropertyValueBinding
public static function FindPropertyBinding(
annotation : IEdmTypeAnnotation,
propertyName : String
) : IEdmPropertyValueBinding
パラメーター
- annotation
型: Microsoft.Data.Edm.Annotations.IEdmTypeAnnotation
検索する注釈。
- propertyName
型: System.String
検索するプロパティの名前。
戻り値
型: 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)」を参照してください。