NamespaceDeclaration(String, String) Constructor
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.
Initializes a new instance of the NamespaceDeclaration class using initial property values.
public:
NamespaceDeclaration(System::String ^ ns, System::String ^ prefix);
public NamespaceDeclaration (string ns, string prefix);
new System.Xaml.NamespaceDeclaration : string * string -> System.Xaml.NamespaceDeclaration
Public Sub New (ns As String, prefix As String)
Parameters
- ns
- String
The XAML namespace identifier, as a string.
- prefix
- String
The string prefix that is used for the namespace in prefix mappings.
Remarks
Initialization of NamespaceDeclaration does not attempt to validate values. To correctly use a XAML writer, do not use null values. A namespace declaration may have a String.Empty value for the prefix. A String.Empty prefix represents a declaration of the default XAML namespace.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για