DisplayDescriptionKeyAttribute.GetDefaultKey Método (PropertyInfo)
Gets the default key using the specified PropertyInfo object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Function GetDefaultKey ( _
property As PropertyInfo _
) As String
'Uso
Dim instance As DisplayDescriptionKeyAttribute
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
Parámetros
- property
Tipo: System.Reflection.PropertyInfo
The PropertyInfo object that is used to get the default key.
Valor devuelto
Tipo: System.String
The key that is used to look up a localized property description in a default resource file.