EdmTypeSemantics.AsStructured Method

Returns a valid structured type reference to the type definition if this reference is of a structured type. Otherwise, it will return a bad structured type reference.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmStructuredTypeReference
A valid structured type reference if the definition of the reference is of a structured type. Otherwise a bad structured type reference.

Usage Note

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

EdmTypeSemantics Class

Microsoft.Data.Edm Namespace