Item propriété (String)
Gets the column with the specified name.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (dans Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As Object
Get
'Utilisation
Dim instance As TraceReader
Dim name As String
Dim value As Object
value = instance(name)
public Object this[
string name
] { get; }
public:
virtual property Object^ default[String^ name] {
Object^ get (String^ name) sealed;
}
abstract Item : Object
override Item : Object
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name of the column.
Valeur de la propriété
Type : System. . :: . .Object
An Object system object value that specifies the column.