This document is archived and information here might be outdated.  Recommended version.


IXMLNamespaces.AddNamespace Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IXMLNamespaces.AddNamespace Method

Adds a namespace to the element.

[Visual Basic .NET]
Public Sub AddNamespace ( _
    ByVal Prefix As String, _
    ByVal uri As String _
)
[C#]
public void AddNamespace (
    string Prefix,
    string uri
);
[C++]
HRESULT AddNamespace(
  BSTR Prefix,
  BSTR uri
);
[C++]

Parameters Prefix [in]
Prefix is a parameter of type BSTR uri [in]
uri is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IXMLNamespaces Interface