共用方式為


ConstantNode 類別

定義

代表常數值的節點可以是基本、複雜、實體或集合值。

public sealed class ConstantNode : Microsoft.OData.UriParser.SingleValueNode
type ConstantNode = class
    inherit SingleValueNode
Public NotInheritable Class ConstantNode
Inherits SingleValueNode
繼承

建構函式

ConstantNode(Object, String, IEdmTypeReference)

建立 ConstantNode

ConstantNode(Object, String)

建立 ConstantNode

ConstantNode(Object)

建立 ConstantNode

屬性

Kind

取得此節點的種類。

(繼承來源 SingleValueNode)
LiteralText

取得或設定此節點值的常值文字,其格式會根據 OData URI 常值格式化規則。 如果未在建構時提供文字,可能是 null。

TypeReference

取得此節點所表示之單一值的資源類型。

Value

取得基本常數值。

方法

Accept<T>(QueryNodeVisitor<T>)

QueryNodeVisitor<T>接受 以逐步解說 的樹狀 QueryNode 結構。

適用於