ExtensionMethods.FindPropertyBinding Method (IEdmTypeAnnotation, String)

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, _
    propertyName As String _
) As IEdmPropertyValueBinding
'Usage
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

Parameters

  • propertyName
    Type: System.String
    The name of the property to search for.

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