SecurityElement Methods

SecurityElement Methods

  Name Description
Public method AddAttribute Adds a name/value attribute to an XML element.
Public method AddChild Adds a child element to the XML element.
Public method Attribute Finds an attribute by name in an XML element.
Public method Copy Creates and returns an identical copy of the current SecurityElement object.
Public method Equal Compares two XML element objects for equality.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Static Escape Replaces invalid XML characters in a string with their valid XML equivalent.
Public method Static FromString Creates a security element from an XML-encoded string.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static IsValidAttributeName Determines whether a string is a valid attribute name.
Public method Static IsValidAttributeValue Determines whether a string is a valid attribute value.
Public method Static IsValidTag Determines whether a string is a valid tag.
Public method Static IsValidText Determines whether a string is valid as text within an XML element.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method SearchForChildByTag Finds a child by its tag name.
Public method SearchForTextOfTag Finds a child by its tag name and returns the contained text.
Public method ToString Overridden. Produces a string representation of an XML element and its constituent attributes, child elements, and text.
Top

Community Additions

ADD
Show:
© 2016 Microsoft