次の方法で共有


LicenseManager.IsLicensed メソッド

指定した型が有効なライセンスを与えられているかどうかを示す値を返します。

Public Shared Function IsLicensed( _
   ByVal type As Type _) As Boolean
[C#]
public static bool IsLicensed(Typetype);
[C++]
public: static bool IsLicensed(Type* type);
[JScript]
public static function IsLicensed(
   type : Type) : Boolean;

パラメータ

  • type
    有効なライセンスを与えられているかどうかを調べる対象の Type

戻り値

指定した型がライセンス付きである場合は true 。それ以外の場合は false

必要条件

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

参照

LicenseManager クラス | LicenseManager メンバ | System.ComponentModel 名前空間