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


Метод GetDefaultKey (PropertyInfo)

Gets the default key using the specified PropertyInfo object Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Function GetDefaultKey ( _
    property As PropertyInfo _
) As String
'Применение
Dim instance As DisplayNameKeyAttribute
Dim property As PropertyInfo
Dim returnValue As String

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

Параметры

Возвращаемое значение

Тип: System. . :: . .String
The key that is used to look up a localized property name in a default resource file.