Méthode GetDefaultKey (Type)
Gets the default key using the specified Type object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Function GetDefaultKey ( _
type As Type _
) As String
'Utilisation
Dim instance As DisplayNameKeyAttribute
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
Paramètres
- type
Type : System. . :: . .Type
The Type object that is used to get the default key.
Valeur de retour
Type : System. . :: . .String
The key that is used to look up a localized type name in a default resource file.