다음을 통해 공유


DisplayNameKeyAttribute.GetDefaultKey 메서드 (Type)

Gets the default key using the specified Type object.

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

매개 변수

  • type
    유형: System.Type
    The Type object that is used to get the default key.

반환 값

유형: System.String
The key that is used to look up a localized type name in a default resource file.

참고 항목

참조

DisplayNameKeyAttribute 클래스

GetDefaultKey 오버로드

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