次の方法で共有


DesigntimeLicenseContext.SetSavedLicenseKey メソッド

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

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

構文

'宣言
Public Overrides Sub SetSavedLicenseKey ( _
    type As Type, _
    key As String _
)
'使用
Dim instance As DesigntimeLicenseContext
Dim type As Type
Dim key As String

instance.SetSavedLicenseKey(type, key)
public override void SetSavedLicenseKey (
    Type type,
    string key
)
public:
virtual void SetSavedLicenseKey (
    Type^ type, 
    String^ key
) override
public void SetSavedLicenseKey (
    Type type, 
    String key
)
public override function SetSavedLicenseKey (
    type : Type, 
    key : String
)

パラメータ

  • type
    ライセンス キーの型。
  • key
    ライセンス キー。

解説

このメソッドは、指定したライセンスをこのライセンス コンテキストに設定します。

プラットフォーム

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 クラス