Share via


CustomLabelCollection.Item Property (String)

Gets the item that has the specified name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As CustomLabel
    Get
'Usage
Dim instance As CustomLabelCollection
Dim name As String
Dim value As CustomLabel

value = instance(name)
public CustomLabel this[
    string name
] { get; }
public:
property CustomLabel^ default[String^ name] {
    CustomLabel^ get (String^ name);
}
member Item : CustomLabel
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • name
    Type: System.String
    The name of the item in the collection.

Property Value

Type: Microsoft.ReportingServices.OnDemandReportRendering.CustomLabel
A CustomLabel object that has the specified name.