Compartir a través de


DisplayCategoryKeyAttribute.GetDefaultKey Método (Type)

Gets the default key using the specified Type object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Function GetDefaultKey ( _
    type As Type _
) As String
'Uso
Dim instance As DisplayCategoryKeyAttribute 
Dim type As Type 
Dim returnValue As String 

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

Parámetros

  • type
    Tipo: System.Type
    The Type object that is used to get the default key.

Valor devuelto

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

Vea también

Referencia

DisplayCategoryKeyAttribute Clase

Sobrecarga de GetDefaultKey

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc