Freigeben über


ExtensionMethods.ElementType-Methode

Ruft den Elementtyp ab.

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

Parameter

Rückgabewert

Typ: Microsoft.Data.Edm.IEdmTypeReference
Der Elementtyp.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmCollectionTypeReference aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).

Siehe auch

Verweis

ExtensionMethods Klasse

Microsoft.Data.Edm-Namespace