Share via


InitString Class

Definition

Represents the initialization string.

public ref class InitString
public class InitString
type InitString = class
Public Class InitString
Inheritance
InitString
Derived

Constructors

InitString(String)

Initializes a new instance of the InitString class.

Properties

FormattedXml

Gets the formatted XML.

RootNode

Gets the root node in the initialization string XML document.

UnformattedXml

Gets the unformatted XML.

XmlDocument

Gets or sets the XML document.

Methods

Exists(XmlNode, String)

Determines whether node specified by xpath is found under parentNode.

FormatTypeAssembly(String, String)

Formats the type assembly.

GetAttributeNode(XmlNode, String)

Retrieves the named attribute node under parentNode.

GetNode(XmlNode, String)

Retrieves the first named node under parentNode, or null if does not exist.

GetNodeInnerText(XmlNode)

Retrieves the inner text of the specified node.

GetNodeInnerTextBool(XmlNode, Boolean)

Retrieves boolean-interpreted value of InnerText of specified node, returns defaultValue if interpretation fails.

GetOrCreateAttributeNode(XmlNode, String)

Retrieves the attribute node under parent node, or create one if it does not exist.

GetOrCreateNode(XmlNode, String, String)

Retrieves first named node under parent node, or creates one if it does not exist.

GetOrCreateNode(XmlNode, String)

Retrieves first named node under parent node, or creates one if it does not exist.

Load(InitString)

Load internal XML document from the specified initialization string.

Load(String)

Loads internal XML document from the specified file.

LoadXml(String)

Loads internal XML document from the specified string.

OnLoad()

Called during load.

ParseTypeAssembly(String, String, String)

Parses the type assembly.

RemoveNode(XmlNode, String)

Removes the first named node under parent node.

Save(String)

Saves internal XML document to the specified file.

ToString()

Returns the initialization string as a formatted Xml string

Validate()

Throw exceptions in overridden implementations to signal initialization string validation failure.

Applies to