Edit

Share via


NamespaceDeclaration.Namespace Property

Definition

Gets the identifier component of a NamespaceDeclaration.

C#
public string Namespace { get; }

Property Value

The identifier of the XAML namespace declaration.

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10