Udostępnij przez


Właściwość StyleBase.Item

Pobiera atrybut stylu.

Przestrzeń nazw:  Microsoft.ReportingServices.OnDemandReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public MustOverride ReadOnly Default Property Item ( _
    style As StyleAttributeNames _
) As ReportProperty
    Get
'Użycie
Dim instance As StyleBase
Dim style As StyleAttributeNames
Dim value As ReportProperty

value = instance(style)
public abstract ReportProperty this[
    StyleAttributeNames style
] { get; }
public:
virtual property ReportProperty^ default[StyleAttributeNames style] {
    ReportProperty^ get (StyleAttributeNames style) abstract;
}
abstract Item : ReportProperty
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.