LicenseManager.UsageMode 属性

定义

获取 LicenseUsageMode,它指定何时可以使用 CurrentContext 的已授权对象。

public:
 static property System::ComponentModel::LicenseUsageMode UsageMode { System::ComponentModel::LicenseUsageMode get(); };
public static System.ComponentModel.LicenseUsageMode UsageMode { get; }
static member UsageMode : System.ComponentModel.LicenseUsageMode
Public Shared ReadOnly Property UsageMode As LicenseUsageMode

属性值

LicenseUsageMode 值之一,这些值是在 CurrentContext 属性中指定的。

注解

如果此属性找不到 CurrentContext 值,则返回 Runtime

适用于

另请参阅