다음을 통해 공유


DisplayNameKeyAttribute.GetDefaultKey 메서드 (PropertyInfo)

Gets the default key using the specified PropertyInfo object

네임스페이스:  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.

참고 항목

참조

DisplayNameKeyAttribute 클래스

GetDefaultKey 오버로드

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스