Table of Contents

Class GeoObjectNode

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This class represent the model of an object.

public class GeoObjectNode
Inheritance
GeoObjectNode
Inherited Members

Constructors

GeoObjectNode()

Creates an instance of GeoObjectNode.

public GeoObjectNode()

GeoObjectNode(string)

Creates an instance of GeoObjectNode with a name.

public GeoObjectNode(string name)

Parameters

name string

The name of this node.

Properties

Attributes

Gets the Attribute of the node.

public Dictionary<string, string> Attributes { get; }

Property Value

Dictionary<string, string>

Children

Gets the Children of the node.

public Collection<GeoObjectNode> Children { get; }

Property Value

Collection<GeoObjectNode>

IsDefaultValue

Gets or sets the IsDefaultValue of the node.

public bool IsDefaultValue { get; set; }

Property Value

bool

Name

Gets or sets the Name of the node.

public string Name { get; set; }

Property Value

string

Parent

Gets or sets the Parent of the node.

public GeoObjectNode Parent { get; set; }

Property Value

GeoObjectNode

Value

Gets or sets the Value of the node.

public string Value { get; set; }

Property Value

string

Methods

ToString()

Returns a string that contains the name, children count and attribute count of this node.

public override string ToString()

Returns

string

The string that contains the name, children count and attribute count of this node.