XamlType.PreferredXamlNamespace Property

Definition

Gets the single XAML namespace that is the primary XAML namespace for this XamlType.

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

Property Value

String

The identifier, as a string, of the primary XAML namespace for this XAML type.

Remarks

This implementation provides the same value as calling GetXamlNamespaces and then getting the first value string from the returned enumerable set.

Applies to