Jaa


EdmEnumObject Constructors

Definition

Overloads

EdmEnumObject(IEdmEnumType, String)

Initializes a new instance of the EdmEnumObject class.

EdmEnumObject(IEdmEnumTypeReference, String)

Initializes a new instance of the EdmEnumObject class.

EdmEnumObject(IEdmEnumType, String, Boolean)

Initializes a new instance of the EdmEnumObject class.

EdmEnumObject(IEdmEnumType, String)

Initializes a new instance of the EdmEnumObject class.

public EdmEnumObject (Microsoft.OData.Edm.IEdmEnumType edmType, string value);
new Microsoft.AspNet.OData.EdmEnumObject : Microsoft.OData.Edm.IEdmEnumType * string -> Microsoft.AspNet.OData.EdmEnumObject
Public Sub New (edmType As IEdmEnumType, value As String)

Parameters

edmType
IEdmEnumType

The IEdmEnumType of this object.

value
String

The value of the enumeration type.

Applies to

EdmEnumObject(IEdmEnumTypeReference, String)

Initializes a new instance of the EdmEnumObject class.

public EdmEnumObject (Microsoft.OData.Edm.IEdmEnumTypeReference edmType, string value);
new Microsoft.AspNet.OData.EdmEnumObject : Microsoft.OData.Edm.IEdmEnumTypeReference * string -> Microsoft.AspNet.OData.EdmEnumObject
Public Sub New (edmType As IEdmEnumTypeReference, value As String)

Parameters

edmType
IEdmEnumTypeReference

The IEdmEnumTypeReference of this object.

value
String

The value of the enumeration type.

Applies to

EdmEnumObject(IEdmEnumType, String, Boolean)

Initializes a new instance of the EdmEnumObject class.

public EdmEnumObject (Microsoft.OData.Edm.IEdmEnumType edmType, string value, bool isNullable);
new Microsoft.AspNet.OData.EdmEnumObject : Microsoft.OData.Edm.IEdmEnumType * string * bool -> Microsoft.AspNet.OData.EdmEnumObject
Public Sub New (edmType As IEdmEnumType, value As String, isNullable As Boolean)

Parameters

edmType
IEdmEnumType

The IEdmEnumTypeReference of this object.

value
String

The value of the enumeration type.

isNullable
Boolean

true if this object can be nullable; otherwise, false.

Applies to