Share via


StyleBase.Item Property (String)

Returns a style matching the specified name.

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Default Property Item ( _
    styleName As String _
) As Object
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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