AddNamespace Method
Adds a namespace to the Namespaces properties.
Syntax
[VB.NET] Public Sub AddNamespace(ByVal Prefix As String, ByVal NamespaceURI As String)
[C#] public void AddNamespace(string prefix, string namespaceURI);
Remarks
This method is used to add a namespace to the Namespaces collection . Prefix specifies the namespace prefix, and NamespaceURI specifies the namespace.
NOTE: This method has a corresponding asynchronous version (AddNamespaceAsync) for use in the Xamarin environment.