Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a field by name from the fields collection.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
fieldName As String _
) As PublishedEventField
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- fieldName
Type: System.String
The name of the field to retrieve.
Property Value
Type: Microsoft.SqlServer.XEvent.Linq.PublishedEventField
A field by name from the fields collection.