LicenseUsageMode 枚举

指定何时可以使用 License

**命名空间:**System.ComponentModel
**程序集:**System(在 system.dll 中)

语法

声明
Public Enumeration LicenseUsageMode
用法
Dim instance As LicenseUsageMode
public enum LicenseUsageMode
public enum class LicenseUsageMode
public enum LicenseUsageMode
public enum LicenseUsageMode

成员

  成员名称 说明
Designtime 在设计时由可视化设计器或编译器使用。 
Runtime 在运行时使用。 

备注

LicenseManagerLicenseContext 类使用此枚举。它用于设置组件的 CurrentContext。有关详细信息,请参见 LicenseManager 类。

有关授权的更多信息,请参见 如何:授予组件和控件许可权限

平台

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

请参见

参考

System.ComponentModel 命名空间
License 类
LicenseContext 类
LicenseException 类
LicenseManager 类
LicenseProvider 类
LicenseProviderAttribute 类
LicFileLicenseProvider