Bagikan melalui


ExtensionMethods.Properties Method

Gets the properties of the specified type.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Properties ( _
    type As IEdmStructuredType _
) As IEnumerable(Of IEdmProperty)
'Usage
Dim type As IEdmStructuredType 
Dim returnValue As IEnumerable(Of IEdmProperty)

returnValue = type.Properties()
public static IEnumerable<IEdmProperty> Properties(
    this IEdmStructuredType type
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmProperty^>^ Properties(
    IEdmStructuredType^ type
)
static member Properties : 
        type:IEdmStructuredType -> IEnumerable<IEdmProperty> 
public static function Properties(
    type : IEdmStructuredType
) : IEnumerable<IEdmProperty>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IEdmProperty>
The properties.

Usage Note

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