Freigeben über


EdmTypeSemantics.AsComplex-Methode

Gibt einen gültigen komplexen Typverweis an die Typdefinition zurück, wenn dieser Verweis vom komplexen Typ ist. Andernfalls wird ein ungültiger komplexer Typverweis zurückgegeben.

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

Syntax

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

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

Parameter

Rückgabewert

Typ: Microsoft.Data.Edm.IEdmComplexTypeReference
Ein gültiger komplexer Typverweis, wenn die Definition des Verweises vom komplexen Typ ist.Andernfalls ein ungültiger komplexer Typverweis.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmTypeReference 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

EdmTypeSemantics Klasse

Microsoft.Data.Edm-Namespace