MarkLogic XCC/.Net Library |

# XName Constructor (String)

Construct an XName with the given local name in the default namespace. This is equivalent to

    new XName (null, "somename")

[Visual Basic]
Overloads Public Sub New( _
ByVal localname As String _
)
[C#]
public XName(
string localname
);

#### Parameters

localname
  The local name as a String.

#### See Also

XName Class | Marklogic.Xcc.Types Namespace | XName Constructor Overload List