XamlXmlReader.Namespace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the XAML namespace from the current node.
public:
virtual property System::Xaml::NamespaceDeclaration ^ Namespace { System::Xaml::NamespaceDeclaration ^ get(); };
public override System.Xaml.NamespaceDeclaration Namespace { get; }
member this.Namespace : System.Xaml.NamespaceDeclaration
Public Overrides ReadOnly Property Namespace As NamespaceDeclaration
Property Value
The XAML namespace from the current node, if it is available; otherwise, null
.
Remarks
This property only has a non-null result if the NodeType of the current position is NamespaceDeclaration. This property does not report the XAML namespace that applies to objects or members in a general scoping sense. Your implementation should cache XAML namespace information if you need it for specific operations. For default operations that involve the loaded XAML schema context, the acting XAML namespace is internally cached by XAML writer implementations.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per