LicenseProviderAttribute 构造函数

定义

初始化 LicenseProviderAttribute 类的新实例。

重载

名称 说明
LicenseProviderAttribute()

初始化没有许可证提供程序的 LicenseProviderAttribute 类的新实例。

LicenseProviderAttribute(String)

使用指定类型初始化类的新实例 LicenseProviderAttribute

LicenseProviderAttribute(Type)

使用指定类型的许可证提供程序初始化类的新实例 LicenseProviderAttribute

LicenseProviderAttribute()

Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs

初始化没有许可证提供程序的 LicenseProviderAttribute 类的新实例。

public:
 LicenseProviderAttribute();
public LicenseProviderAttribute();
Public Sub New ()

适用于

LicenseProviderAttribute(String)

Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs

使用指定类型初始化类的新实例 LicenseProviderAttribute

public:
 LicenseProviderAttribute(System::String ^ typeName);
public LicenseProviderAttribute(string? typeName);
public LicenseProviderAttribute(string typeName);
new System.ComponentModel.LicenseProviderAttribute : string -> System.ComponentModel.LicenseProviderAttribute
Public Sub New (typeName As String)

参数

typeName
String

许可证提供程序类的完全限定名称。

适用于

LicenseProviderAttribute(Type)

Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs
Source:
LicenseProviderAttribute.cs

使用指定类型的许可证提供程序初始化类的新实例 LicenseProviderAttribute

public:
 LicenseProviderAttribute(Type ^ type);
public LicenseProviderAttribute(Type type);
new System.ComponentModel.LicenseProviderAttribute : Type -> System.ComponentModel.LicenseProviderAttribute
Public Sub New (type As Type)

参数

type
Type

一个 Type 表示许可证提供程序类的类型。

适用于