GetDefaultKey-Methode (FieldInfo)
Gets the default key using the specified FieldInfo object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function GetDefaultKey ( _
field As FieldInfo _
) As String
'Usage
Dim instance As DisplayDescriptionKeyAttribute
Dim field As FieldInfo
Dim returnValue As String
returnValue = instance.GetDefaultKey(field)
public string GetDefaultKey(
FieldInfo field
)
public:
virtual String^ GetDefaultKey(
FieldInfo^ field
) sealed
abstract GetDefaultKey :
field:FieldInfo -> string
override GetDefaultKey :
field:FieldInfo -> string
public final function GetDefaultKey(
field : FieldInfo
) : String
Parameter
- field
Typ: System.Reflection. . :: . .FieldInfo
The FieldInfo object that is used to get the default key.
Rückgabewert
Typ: System. . :: . .String
The key that is used to look up a localized field description in a default resource file.