This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLNamespaces Interface > IXMLNamespaces.AddNamespace Method (ArcObjects .NET 10.5 SDK) |
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