ConstantNode Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConstantNode(Object) |
Create a ConstantNode |
ConstantNode(Object, String) |
Create a ConstantNode |
ConstantNode(Object, String, IEdmTypeReference) |
Create a ConstantNode |
ConstantNode(Object)
Create a ConstantNode
public ConstantNode (object constantValue);
new Microsoft.OData.UriParser.ConstantNode : obj -> Microsoft.OData.UriParser.ConstantNode
Public Sub New (constantValue As Object)
Parameters
- constantValue
- Object
This node's primitive value.
Applies to
ConstantNode(Object, String)
Create a ConstantNode
public ConstantNode (object constantValue, string literalText);
new Microsoft.OData.UriParser.ConstantNode : obj * string -> Microsoft.OData.UriParser.ConstantNode
Public Sub New (constantValue As Object, literalText As String)
Parameters
- constantValue
- Object
This node's primitive value.
- literalText
- String
The literal text for this node's value, formatted according to the OData URI literal formatting rules.
Exceptions
Throws if the input literalText is null.
Applies to
ConstantNode(Object, String, IEdmTypeReference)
Create a ConstantNode
public ConstantNode (object constantValue, string literalText, Microsoft.OData.Edm.IEdmTypeReference typeReference);
new Microsoft.OData.UriParser.ConstantNode : obj * string * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.UriParser.ConstantNode
Public Sub New (constantValue As Object, literalText As String, typeReference As IEdmTypeReference)
Parameters
- constantValue
- Object
This node's primitive value.
- literalText
- String
The literal text for this node's value, formatted according to the OData URI literal formatting rules.
- typeReference
- IEdmTypeReference
The typeReference of this node's value.
Exceptions
Throws if the input literalText is null.