ExtensionMethods.Location Method

Gets the location of the specified item.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Location ( _
    item As IEdmElement _
) As EdmLocation
'Usage
Dim item As IEdmElement 
Dim returnValue As EdmLocation 

returnValue = item.Location()
public static EdmLocation Location(
    this IEdmElement item
)
[ExtensionAttribute]
public:
static EdmLocation^ Location(
    IEdmElement^ item
)
static member Location : 
        item:IEdmElement -> EdmLocation
public static function Location(
    item : IEdmElement
) : EdmLocation

Parameters

Return Value

Type: Microsoft.Data.Edm.EdmLocation
The location of an item.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmElement. 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

Microsoft.Data.Edm Namespace