Condividi tramite


Metodo GetDefaultKey (Type)

Gets the default key using the specified Type object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function GetDefaultKey ( _
    type As Type _
) As String
'Utilizzo
Dim instance As DisplayDescriptionKeyAttribute
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

Parametri

Valore restituito

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