Freigeben über


DisplayCategoryKeyAttribute.GetDefaultKey-Methode (PropertyInfo)

Gets the default key using the specified PropertyInfo 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 ( _
    property As PropertyInfo _
) As String
'Usage
Dim instance As DisplayCategoryKeyAttribute 
Dim property As PropertyInfo 
Dim returnValue As String 

returnValue = instance.GetDefaultKey(property)
public string GetDefaultKey(
    PropertyInfo property
)
public:
virtual String^ GetDefaultKey(
    PropertyInfo^ property
) sealed
abstract GetDefaultKey : 
        property:PropertyInfo -> string  
override GetDefaultKey : 
        property:PropertyInfo -> string
public final function GetDefaultKey(
    property : PropertyInfo
) : String

Parameter

Rückgabewert

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

Siehe auch

Verweis

DisplayCategoryKeyAttribute Klasse

GetDefaultKey-Überladung

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace