次の方法で共有


LicenseContext.UsageMode プロパティ

派生クラスでオーバーライドされた場合、ライセンスをいつ使用できるかを指定する値を取得します。

Public Overridable ReadOnly Property UsageMode As LicenseUsageMode
[C#]
public virtual LicenseUsageMode UsageMode {get;}
[C++]
public: __property virtual LicenseUsageMode get_UsageMode();
[JScript]
public function get UsageMode() : LicenseUsageMode;

プロパティ値

ライセンスをいつ使用できるかを指定する LicenseUsageMode 値の 1 つ。既定値は LicenseUsageMode.Runtime です。

解説

継承時の注意: デザイン時のサポートを実装するには、継承クラスでこのプロパティをオーバーライドします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

LicenseContext クラス | LicenseContext メンバ | System.ComponentModel 名前空間 | License | LicenseContext | LicenseException | LicenseManager | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode