Item propriété
Corresponds to the indexor property in the C# language. It allows indexing of a collection in the same manner as with arrays.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Default Property Item ( _
column As TraceColumn _
) As String
Get
Set
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- column
Type : Microsoft.AnalysisServices. . :: . .TraceColumn
A collection of trace columns.
Valeur de la propriété
Type : System. . :: . .String
The value of a trace column from a trace event.
Voir aussi