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 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
매개 변수
- property
유형: System.Reflection. . :: . .PropertyInfo
The PropertyInfo object that is used to get the default key.
반환 값
유형: System. . :: . .String
The key that is used to look up a localized property description in a default resource file.