Share via


ExtensionMethods.DeclaredStructuralProperties Method (IEdmStructuredTypeReference)

Gets the declared structural properties.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function DeclaredStructuralProperties ( _
    type As IEdmStructuredTypeReference _
) As IEnumerable(Of IEdmStructuralProperty)
'Usage
Dim type As IEdmStructuredTypeReference 
Dim returnValue As IEnumerable(Of IEdmStructuralProperty)

returnValue = type.DeclaredStructuralProperties()
public static IEnumerable<IEdmStructuralProperty> DeclaredStructuralProperties(
    this IEdmStructuredTypeReference type
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmStructuralProperty^>^ DeclaredStructuralProperties(
    IEdmStructuredTypeReference^ type
)
static member DeclaredStructuralProperties : 
        type:IEdmStructuredTypeReference -> IEnumerable<IEdmStructuralProperty> 
public static function DeclaredStructuralProperties(
    type : IEdmStructuredTypeReference
) : IEnumerable<IEdmStructuralProperty>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IEdmStructuralProperty>
A collection of declared structural properties.

Usage Note

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

DeclaredStructuralProperties Overload

Microsoft.Data.Edm Namespace