Uredi

Deli z drugimi prek


XmlnsDictionary.Item[] Property

Definition

Gets or sets the XML namespace URI associated with the specified prefix.

Overloads

Item[Object]

Gets or sets the XAML namespace URI associated with the specified prefix.

Item[String]

Gets or sets the XAML namespace URI associated with the specified prefix.

Item[Object]

Gets or sets the XAML namespace URI associated with the specified prefix.

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

Parameters

prefix
Object

The prefix from which to get or set the associated XML namespace URI.

Property Value

The corresponding XAML namespace URI.

Implements

Exceptions

prefix is not a string

-or-

The value to set is not a string.

prefix is null

-or-

The value to set is null.

Applies to

Item[String]

Gets or sets the XAML namespace URI associated with the specified prefix.

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

Parameters

prefix
String

The prefix from which to get or set the associated namespace.

Property Value

The corresponding XML namespace URI.

Exceptions

prefix is null

-or-

The value to set is null.

Applies to