NamespaceDeclaration.Namespace Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the identifier component of a NamespaceDeclaration.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public string Namespace { get; }

Property Value

Type: System.String

The identifier of the XAML namespace declaration.

By convention, the identifier for a XAML namespace resembles a Uniform Resource Identifier (URI). The APIs of .NET Framework XAML Services usually treat XAML namespace identifiers as strings. The relative versus absolute distinctions in the true Uri type are irrelevant for identifying a XAML (or XML) namespace. The URI-as-namespace convention is also typical in XML.

.NET Framework
Available since 4.0
Return to top
Show: