EdmEnumObject Constructor
Namespace: System.Web.OData
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
EdmEnumObject(IEdmEnumType, String) | Initializes a new instance of the EdmEnumObject class. |
![]() |
EdmEnumObject(IEdmEnumType, String, Boolean) | Initializes a new instance of the EdmEnumObject class. |
![]() |
EdmEnumObject(IEdmEnumTypeReference, String) | Initializes a new instance of the EdmEnumObject class. |
See Also
EdmEnumObject Class
System.Web.OData Namespace
Return to top
EdmEnumObject Constructor (IEdmEnumType, String)
Initializes a new instance of the EdmEnumObject class.
Syntax
public EdmEnumObject(
IEdmEnumType edmType,
string value
)
public:
EdmEnumObject(
IEdmEnumType^ edmType,
String^ value
)
new :
edmType:IEdmEnumType *
value:string -> EdmEnumObject
Public Sub New (
edmType As IEdmEnumType,
value As String
)
Parameters
edmType
Type: Microsoft.OData.Edm.IEdmEnumTypeThe IEdmEnumType of this object.
value
Type: System.StringThe value of the enumeration type.
Return to top
EdmEnumObject Constructor (IEdmEnumType, String, Boolean)
Initializes a new instance of the EdmEnumObject class.
Syntax
public EdmEnumObject(
IEdmEnumType edmType,
string value,
bool isNullable
)
public:
EdmEnumObject(
IEdmEnumType^ edmType,
String^ value,
bool isNullable
)
new :
edmType:IEdmEnumType *
value:string *
isNullable:bool -> EdmEnumObject
Public Sub New (
edmType As IEdmEnumType,
value As String,
isNullable As Boolean
)
Parameters
edmType
Type: Microsoft.OData.Edm.IEdmEnumTypeThe IEdmEnumTypeReference of this object.
value
Type: System.StringThe value of the enumeration type.
isNullable
Type: System.Booleantrue if this object can be nullable; otherwise, false.
Return to top
EdmEnumObject Constructor (IEdmEnumTypeReference, String)
Initializes a new instance of the EdmEnumObject class.
Syntax
public EdmEnumObject(
IEdmEnumTypeReference edmType,
string value
)
public:
EdmEnumObject(
IEdmEnumTypeReference^ edmType,
String^ value
)
new :
edmType:IEdmEnumTypeReference *
value:string -> EdmEnumObject
Public Sub New (
edmType As IEdmEnumTypeReference,
value As String
)
Parameters
edmType
Type: Microsoft.OData.Edm.IEdmEnumTypeReferenceThe IEdmEnumTypeReference of this object.
value
Type: System.StringThe value of the enumeration type.
Return to top