Style.Item[Object, Boolean] 属性

定义

通过键参数返回样式(可以使用也可以不使用继承)。Returns the style through the key parameter, with or without using inheritance. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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

参数

key
Object

要获取或设置的样式的键。The key of the style to get or set.

属性值

由给定 key 指定的样式。The style specified by the given key.

另请参阅

Item[Object, Boolean]

通过键参数返回样式(可以使用也可以不使用继承)。Returns the style, through the key parameter, with or without using inheritance. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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

参数

key
Object

要获取或设置的样式的键。The key of the style to get or set.

inherit
Boolean

如果使用继承,则为 true;否则为 falsetrue to use inheritance; otherwise, false.

属性值

key 指定的样式。The style specified by key.

另请参阅

适用于