通过


Style.Item[] 属性

定义

通过键参数返回样式,无论是否使用继承。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

重载

名称 说明
Item[Object]

通过键参数返回样式,无论是否使用继承。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Item[Object, Boolean]

通过键参数返回样式,无论是否使用继承。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Item[Object]

通过键参数返回样式,无论是否使用继承。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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

参数

key
Object

要获取或设置的样式的键。

属性值

由给定 key的样式指定。

另请参阅

适用于

Item[Object, Boolean]

通过键参数返回样式,无论是否使用继承。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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

参数

key
Object

要获取或设置的样式的键。

inherit
Boolean

true 使用继承;否则,为 false.

属性值

指定的 key样式。

另请参阅

适用于