แก้ไข

แชร์ผ่าน


Style.Item[] Property

Definition

Returns the style through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

Item[Object]

Returns the style through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Item[Object, Boolean]

Returns the style, through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Item[Object]

Returns the style through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property System::Object ^ default[System::Object ^] { System::Object ^ get(System::Object ^ key); void set(System::Object ^ key, System::Object ^ value); };
public object this[object key] { get; set; }
member this.Item(obj) : obj with get, set
Default Public Property Item(key As Object) As Object

Parameters

key
Object

The key of the style to get or set.

Property Value

The style specified by the given key.

See also

Applies to

Item[Object, Boolean]

Returns the style, through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property System::Object ^ default[System::Object ^, bool] { System::Object ^ get(System::Object ^ key, bool inherit); };
public object this[object key, bool inherit] { get; }
member this.Item(obj * bool) : obj
Default Public ReadOnly Property Item(key As Object, inherit As Boolean) As Object

Parameters

key
Object

The key of the style to get or set.

inherit
Boolean

true to use inheritance; otherwise, false.

Property Value

The style specified by key.

See also

Applies to