JsonSchemaNode Members

Defines a node and its hierarchy in the JsonDataSource‘s schema.

Constructors

Name Description
JsonSchemaNode() Initializes a new instance of the JsonSchemaNode class.
JsonSchemaNode(JsonNode) Initializes a new instance of the JsonSchemaNode class.
JsonSchemaNode(String, Nullable<Boolean>) Initializes a new instance of the JsonSchemaNode class and sets its properties to the values passed as the parameters.
JsonSchemaNode(String, Nullable<Boolean>, JsonNodeType) Initializes a new instance of the JsonSchemaNode class and sets its properties to the values passed as the parameters.
JsonSchemaNode(String, Nullable<Boolean>, JsonNodeType, Type) Initializes a new instance of the JsonSchemaNode class and sets its properties to the values passed as the parameters.

Properties

Name Description
Children Provides access to a collection of the node’s child nodes. Inherited from Node<T>.
DisplayName Gets or sets the data source node’s display name.
Name Gets or sets the name of the data source field that the JsonSchemaNode object defines.
Nodes For internal use.
NodeType Gets or sets the type of the JSON object’s node that the JsonSchemaNode object defines.
Parent Returns the node’s parent node. Returns null (Nothing in Visual Basic) for the root node. Inherited from Node<T>.
Selected Gets or sets whether to include the JSON object’s field, which the JsonSchemaNode object defines, to the JsonDataSource‘s data schema.
Type Gets or sets the type of data stored in the data source field that the JsonSchemaNode object defines.
Value Gets or sets the node’s value. Inherited from Node<T>.

Methods

Name Description
AbandonChildren() Removes all child nodes from the node. Inherited from Node<T>.
AddChildren(Node<T>[]) Adds child nodes to the node. Inherited from Node<T>.
Equals(Object) Determines whether the specified object is equal to the current Node<T> instance. Inherited from Node<T>.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ForEach(Action<Node<T>>) Performs the specified action on the node’s each child node. Inherited from Node<T>.
GetHashCode() Serves as the default hash function. Inherited from Node<T>.
GetParents() Returns a collection of the node’s parent nodes. Inherited from Node<T>.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when the JsonSchemaNode object’s property value changes.
See Also