次の方法で共有


DisplayCategoryKeyAttribute.GetDefaultKey メソッド (PropertyInfo)

指定した PropertyInfo オブジェクトを使用して既定のキーを取得します。 このメンバーをコード内で直接参照しないでください。このメンバーは、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 DisplayCategoryKeyAttribute 
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
既定のリソース ファイル内にあるローカライズされたプロパティのカテゴリの検索に使用するキーです。

関連項目

参照

DisplayCategoryKeyAttribute クラス

GetDefaultKey オーバーロード

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間