Share via


EdmTypeSemantics.AsBinary(IEdmTypeReference) Method

Definition

If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference.

public static Microsoft.OData.Edm.IEdmBinaryTypeReference AsBinary (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsBinary : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmBinaryTypeReference
<Extension()>
Public Function AsBinary (type As IEdmTypeReference) As IEdmBinaryTypeReference

Parameters

type
IEdmTypeReference

Reference to the calling object.

Returns

A valid binary type reference if the definition of the reference is of a binary type. Otherwise a bad binary type reference.

Applies to