共用方式為


StyleBase.Item 屬性 (String)

Returns a style matching the specified name.

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public MustOverride ReadOnly Default Property Item ( _
    styleName As String _
) As Object 
    Get
'用途
Dim instance As StyleBase 
Dim styleName As String 
Dim value As Object 

value = instance(styleName)
public abstract Object this[
    string styleName
] { get; }
public:
virtual property Object^ default[String^ styleName] {
    Object^ get (String^ styleName) abstract;
}
abstract Item : Object
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

  • styleName
    型別:System.String
    The name of the style to retrieve.

屬性值

型別:System.Object
An object containing the style matching the specified name.

請參閱

參考

StyleBase 類別

Item 多載

Microsoft.ReportingServices.ReportRendering 命名空間