NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ConfigXmlCursor Members

Public:

Properties

Line File line number of the element within a configuration file.
Name Name of the tag element.
ReportLine The friendly line number for reporting errors. The difference from the Line property is that it reports the line on which the first nonwhitespace occurred.
Text Returns the text for the node under the cursor. For text/whitespace/CDATA nodes, this is the contained text. For attributes, this is the value.
Type Node type of the XML element within a tree.

Methods

AttributeText Overloaded. [To be supplied.]
Clone Clones the cursor at its current position within the element tree.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
MoveNext Moves the cursor to the next element or attribute. Returns False if there is no next sibling.
MovePrevious Moves the cursor to the previous element/attribute. Returns False if there is no previous sibling.
MoveToFirstAttribute Moves the cursor to the first attribute of the current element.
MoveToFirstChild Moves the cursor to the first child of the current element.
MoveToLastAttribute Moves the cursor to the last attribute of the current element.
MoveToLastChild Moves the cursor the the last child of the current element.
MoveToParent Moves the cursor to the parent of the current element.
MoveToRoot Moves the cursor to the root of the configuration section handler tree.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConfigXmlCursor Class | System.Web.Configuration Namespace