This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
SecurityElement Members
Public:
Constructor
Properties
Attributes |
A dictionary object holds the attributes of an XML element as key/value pairs. |
Children |
Array of child elements of the XML element. |
Tag |
Tag properties represents the tag name of an XML element. For instance, "tag" in XML:
<tag attributes...>text.....</tag>
|
Text |
Represents the text within an XML element. |
Methods
AddAttribute |
Helper function to add a name/value attribute to the XML element. |
AddChild |
Adds child element to the XML element. |
Attribute |
Find attribute by name in an XML element |
Equal |
Compares two XML element objects for equality. |
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. |
IsValidAttributeName |
Test string for valid attribute name |
IsValidAttributeValue |
Test string for valid attribute value |
IsValidTag |
Test is string is a valid tag |
IsValidText |
Test string for valid as text within an XML element. |
SearchForChildByTag |
Find child by tag name. |
SearchForTextOfTag |
Find child by tag name and return contained text. |
ToString |
Produces a string representation of XML element and its constituent attributes, child elements, and text. |
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
SecurityElement Class | System.Security Namespace