InitString Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Represents the initialization string.

Namespace:   Microsoft.Uii.Common
Assembly:  Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Common.InitString
    Microsoft.Uii.Common.AppInitStringBase

Syntax

public class InitString
Public Class InitString

Constructors

Name Description
System_CAPS_protmethod InitString(String)

Initializes a new instance of the InitString class.

Properties

Name Description
System_CAPS_pubproperty FormattedXml

Gets the formatted XML.

System_CAPS_protproperty RootNode

Gets the root node in the initialization string XML document.

System_CAPS_pubproperty UnformattedXml

Gets the unformatted XML.

System_CAPS_pubproperty XmlDocument

Gets or sets the XML document.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Exists(XmlNode, String)

Determines whether node specified by xpath is found under parentNode.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethodSystem_CAPS_static FormatTypeAssembly(String, String)

Formats the type assembly.

System_CAPS_protmethod GetAttributeNode(XmlNode, String)

Retrieves the named attribute node under parentNode.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetNode(XmlNode, String)

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

System_CAPS_protmethodSystem_CAPS_static GetNodeInnerText(XmlNode)

Retrieves the inner text of the specified node.

System_CAPS_protmethodSystem_CAPS_static GetNodeInnerTextBool(XmlNode, Boolean)

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

System_CAPS_protmethod GetOrCreateAttributeNode(XmlNode, String)

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

System_CAPS_protmethod GetOrCreateNode(XmlNode, String)

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

System_CAPS_protmethod GetOrCreateNode(XmlNode, String, String)

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Load(InitString)

Load internal XML document from the specified initialization string.

System_CAPS_pubmethod Load(String)

Loads internal XML document from the specified file.

System_CAPS_pubmethod LoadXml(String)

Loads internal XML document from the specified string.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnLoad()

Called during load.

System_CAPS_protmethodSystem_CAPS_static ParseTypeAssembly(String, String, String)

Parses the type assembly.

System_CAPS_protmethod RemoveNode(XmlNode, String)

Removes the first named node under parent node.

System_CAPS_pubmethod Save(String)

Saves internal XML document to the specified file.

System_CAPS_pubmethod ToString()

Returns the initialization string as a formatted Xml string(Overrides Object.ToString().)

System_CAPS_protmethod Validate()

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

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright