WebControlToolboxItem 构造函数

定义

初始化 WebControlToolboxItem 类的新实例。

重载

WebControlToolboxItem()

初始化 WebControlToolboxItem 类的新实例。

WebControlToolboxItem(Type)

使用提供的类型创建 WebControlToolboxItem 类的新实例。

WebControlToolboxItem(SerializationInfo, StreamingContext)

使用提供的 WebControlToolboxItem 对象和 SerializationInfo 创建 StreamingContext 类的新实例。

WebControlToolboxItem()

初始化 WebControlToolboxItem 类的新实例。

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

注解

DisplayName设置为类型名称的短版本。

适用于

WebControlToolboxItem(Type)

使用提供的类型创建 WebControlToolboxItem 类的新实例。

public:
 WebControlToolboxItem(Type ^ type);
public WebControlToolboxItem (Type type);
new System.Web.UI.Design.WebControlToolboxItem : Type -> System.Web.UI.Design.WebControlToolboxItem
Public Sub New (type As Type)

参数

type
Type

此工具箱项的工具的 Type

注解

DisplayName设置为类型名称的短版本。

适用于

WebControlToolboxItem(SerializationInfo, StreamingContext)

使用提供的 WebControlToolboxItem 对象和 SerializationInfo 创建 StreamingContext 类的新实例。

protected:
 WebControlToolboxItem(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WebControlToolboxItem (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Web.UI.Design.WebControlToolboxItem : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Web.UI.Design.WebControlToolboxItem
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

包含通过反序列化实例化 Web 控件时所需信息的 SerializationInfo 对象。

context
StreamingContext

StreamingContext 对象。

适用于