CurrentContext においてライセンス付きのオブジェクトをいつ使用できるかを指定する LicenseUsageMode を取得します。
名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文
'宣言
Public Shared ReadOnly Property UsageMode As LicenseUsageMode
'使用
Dim value As LicenseUsageMode
value = LicenseManager.UsageMode
public static LicenseUsageMode UsageMode { get; }
public:
static property LicenseUsageMode UsageMode {
LicenseUsageMode get ();
}
/** @property */
public static LicenseUsageMode get_UsageMode ()
public static function get UsageMode () : LicenseUsageMode
プロパティ値
CurrentContext プロパティで指定されている、LicenseUsageMode 値の 1 つ。
解説
CurrentContext 値が見つからなかった場合、このプロパティは Runtime を返します。
プラットフォーム
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
参照
関連項目
LicenseManager クラス
LicenseManager メンバ
System.ComponentModel 名前空間
LicenseManager.CurrentContext プロパティ
License クラス
LicenseContext クラス
LicenseException クラス
LicenseProvider
LicenseProviderAttribute
LicFileLicenseProvider
LicenseUsageMode