Share via


ExtensionMethods.FindProperty Method (IEdmRecordExpression, String)

Finds a property of a record expression.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FindProperty ( _
    expression As IEdmRecordExpression, _
    name As String _
) As IEdmPropertyConstructor
'Usage
Dim expression As IEdmRecordExpression 
Dim name As String 
Dim returnValue As IEdmPropertyConstructor 

returnValue = expression.FindProperty(name)
public static IEdmPropertyConstructor FindProperty(
    this IEdmRecordExpression expression,
    string name
)
[ExtensionAttribute]
public:
static IEdmPropertyConstructor^ FindProperty(
    IEdmRecordExpression^ expression, 
    String^ name
)
static member FindProperty : 
        expression:IEdmRecordExpression * 
        name:string -> IEdmPropertyConstructor
public static function FindProperty(
    expression : IEdmRecordExpression, 
    name : String
) : IEdmPropertyConstructor

Parameters

Return Value

Type: Microsoft.Data.Edm.Expressions.IEdmPropertyConstructor
The property, if found, otherwise null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmRecordExpression. 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.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ExtensionMethods Class

FindProperty Overload

Microsoft.Data.Edm Namespace