Share via


EdmPropertyValue Constructors

Definition

Overloads

EdmPropertyValue(String)

Initializes a new instance of the EdmPropertyValue class with non-initialized Value property. This constructor allows setting Value property once after EdmPropertyValue has been constructed.

EdmPropertyValue(String, IEdmValue)

Initializes a new instance of the EdmPropertyValue class. This constructor will not allow changing Value property after the EdmPropertyValue instance has been constructed.

EdmPropertyValue(String)

Initializes a new instance of the EdmPropertyValue class with non-initialized Value property. This constructor allows setting Value property once after EdmPropertyValue has been constructed.

public EdmPropertyValue (string name);
new Microsoft.OData.Edm.Vocabularies.EdmPropertyValue : string -> Microsoft.OData.Edm.Vocabularies.EdmPropertyValue
Public Sub New (name As String)

Parameters

name
String

Name of the property for which this provides a value.

Applies to

EdmPropertyValue(String, IEdmValue)

Initializes a new instance of the EdmPropertyValue class. This constructor will not allow changing Value property after the EdmPropertyValue instance has been constructed.

public EdmPropertyValue (string name, Microsoft.OData.Edm.Vocabularies.IEdmValue value);
new Microsoft.OData.Edm.Vocabularies.EdmPropertyValue : string * Microsoft.OData.Edm.Vocabularies.IEdmValue -> Microsoft.OData.Edm.Vocabularies.EdmPropertyValue
Public Sub New (name As String, value As IEdmValue)

Parameters

name
String

Name of the property for which this provides a value.

value
IEdmValue

Value of the property.

Applies to