Share via


NamespaceDeclaration.Prefix 屬性

定義

取得前置詞,這個前置詞會做為 NamespaceDeclaration 的 XAML 命名空間對應前置詞。

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

屬性值

這個 NamespaceDeclaration 的前置字串。

備註

命名空間宣告可能有 String.Empty 前置詞的值。 前置 String.Empty 詞代表預設 XAML 命名空間的宣告。

適用於