Поделиться через


Метод 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.