ConstantNode 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表常數值的節點可以是基本、複雜、實體或集合值。
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 結構。 |