Compartilhar via


Propriedade Item

Corresponds to the indexor property in the C# language. It allows indexing of a collection in the same manner as with arrays.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Default Property Item ( _
    column As TraceColumn _
) As String
    Get
    Set
'Uso
Dim instance As TraceEventArgs
Dim column As TraceColumn
Dim value As String

value = instance(column)

instance(column) = value
public string this[
    TraceColumn column
] { get; set; }
public:
property String^ default[TraceColumn column] {
    String^ get (TraceColumn column);
    void set (TraceColumn column, String^ value);
}
member Item : string with get, set
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: System. . :: . .String
The value of a trace column from a trace event.