XmlnsDictionary.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定與指定前綴相關的 XML 命名空間 URI。
多載
| 名稱 | Description |
|---|---|
| Item[Object] |
取得或設定與指定前綴相關的 XAML 命名空間 URI。 |
| Item[String] |
取得或設定與指定前綴相關的 XAML 命名空間 URI。 |
Item[Object]
取得或設定與指定前綴相關的 XAML 命名空間 URI。
public:
property System::Object ^ default[System::Object ^] { System::Object ^ get(System::Object ^ prefix); void set(System::Object ^ prefix, System::Object ^ value); };
public object this[object prefix] { get; set; }
member this.Item(obj) : obj with get, set
Default Public Property Item(prefix As Object) As Object
參數
- prefix
- Object
這是取得或設定相關 XML 命名空間 URI 的前綴。
屬性值
對應的 XAML 命名空間 URI。
實作
例外狀況
適用於
Item[String]
取得或設定與指定前綴相關的 XAML 命名空間 URI。
public:
property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ prefix); void set(System::String ^ prefix, System::String ^ value); };
public string this[string prefix] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(prefix As String) As String
參數
- prefix
- String
用來取得或設定相關命名空間的前綴。
屬性值
對應的 XML 命名空間 URI。