編輯

共用方式為


NamespaceDeclaration.Namespace Property

Definition

Gets the identifier component of a NamespaceDeclaration.

public:
 property System::String ^ Namespace { System::String ^ get(); };
public string Namespace { get; }
member this.Namespace : string
Public ReadOnly Property Namespace As String

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