GetDefaultKey 方法 (Type)

Gets the default key using the specified Type object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Function GetDefaultKey ( _
    type As Type _
) As String
用法
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

参数

返回值

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