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!

SecurityElement.AddAttribute

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
);

Parameters

name
String name of the attribute
value
[To be supplied.]

Remarks

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.

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace