Helper function to add a name/value attribute to the XML element.
[Visual Basic] Public Sub AddAttribute( _ ByVal name As String, _ ByVal value As String _ ) [C#] public void AddAttribute( string name, string value ); [C++] public: void AddAttribute( String* name, String* value ); [JScript] public function AddAttribute( name : String, value : String );
Names and values in attributes should only contain valid XML attribute characters.
There is no support for quoted strings so strings for name/value pairs should not contain quotes or other characters that would require quoting.
SecurityElement Class | SecurityElement Members | System.Security Namespace