Propriedade do RDL PublishedEvent.FieldList.Item (String)
Gets a field by name from the fields collection.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (em Microsoft.SqlServer.XEvent.Linq.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
fieldName As String _
) As PublishedEventField
Get
'Uso
Dim instance As PublishedEvent.FieldList
Dim fieldName As String
Dim value As PublishedEventField
value = instance(fieldName)
public PublishedEventField this[
string fieldName
] { get; }
public:
property PublishedEventField^ default[String^ fieldName] {
PublishedEventField^ get (String^ fieldName);
}
member Item : PublishedEventField
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- fieldName
Tipo: System.String
The name of the field to retrieve.
Valor da propriedade
Tipo: Microsoft.SqlServer.XEvent.Linq.PublishedEventField
A field by name from the fields collection.