次の方法で共有


DesigntimeLicenseContext.GetSavedLicenseKey メソッド

保存されているライセンス キーを取得します。

名前空間: System.ComponentModel.Design
アセンブリ: System (system.dll 内)

構文

'宣言
Public Overrides Function GetSavedLicenseKey ( _
    type As Type, _
    resourceAssembly As Assembly _
) As String
'使用
Dim instance As DesigntimeLicenseContext
Dim type As Type
Dim resourceAssembly As Assembly
Dim returnValue As String

returnValue = instance.GetSavedLicenseKey(type, resourceAssembly)
public override string GetSavedLicenseKey (
    Type type,
    Assembly resourceAssembly
)
public:
virtual String^ GetSavedLicenseKey (
    Type^ type, 
    Assembly^ resourceAssembly
) override
public String GetSavedLicenseKey (
    Type type, 
    Assembly resourceAssembly
)
public override function GetSavedLicenseKey (
    type : Type, 
    resourceAssembly : Assembly
) : String

パラメータ

  • type
    ライセンス キーの型。
  • resourceAssembly
    キーの取得元のアセンブリ。

戻り値

指定した型と一致する、保存されているライセンス キー。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

DesigntimeLicenseContext クラス
DesigntimeLicenseContext メンバ
System.ComponentModel.Design 名前空間
LicenseContext クラス