ExtensionMethods.ElementType Method

Gets the element type.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ElementType ( _
    type As IEdmCollectionTypeReference _
) As IEdmTypeReference
'Usage
Dim type As IEdmCollectionTypeReference 
Dim returnValue As IEdmTypeReference 

returnValue = type.ElementType()
public static IEdmTypeReference ElementType(
    this IEdmCollectionTypeReference type
)
[ExtensionAttribute]
public:
static IEdmTypeReference^ ElementType(
    IEdmCollectionTypeReference^ type
)
static member ElementType : 
        type:IEdmCollectionTypeReference -> IEdmTypeReference
public static function ElementType(
    type : IEdmCollectionTypeReference
) : IEdmTypeReference

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmTypeReference
The element type.

Usage Note

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

Microsoft.Data.Edm Namespace