Udostępnij za pośrednictwem


DisplayCategoryKeyAttribute.GetDefaultKey Method (FieldInfo)

Gets the default key using the specified FieldInfo object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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 DisplayCategoryKeyAttribute 
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

Parameters

Return Value

Type: System.String
The key that is used to look up a localized field category in a default resource file.

See Also

Reference

DisplayCategoryKeyAttribute Class

GetDefaultKey Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace