ExtensionMethods.FindPropertyBinding Method (IEdmTypeAnnotation, IEdmProperty)

Gets the binding of a property of the type term of a type annotation.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FindPropertyBinding ( _
    annotation As IEdmTypeAnnotation, _
    property As IEdmProperty _
) As IEdmPropertyValueBinding
'Usage
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

Parameters

Return Value

Type: Microsoft.Data.Edm.Annotations.IEdmPropertyValueBinding
The binding of the property in the type annotation, or null if no binding exists.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeAnnotation. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ExtensionMethods Class

FindPropertyBinding Overload

Microsoft.Data.Edm Namespace