Επεξεργασία

Κοινή χρήση μέσω


WebControlToolboxItem Constructors

Definition

Initializes a new instance of the WebControlToolboxItem class.

Overloads

WebControlToolboxItem()

Initializes a new instance of the WebControlToolboxItem class.

WebControlToolboxItem(Type)

Creates a new instance of the WebControlToolboxItem class using the provided type.

WebControlToolboxItem(SerializationInfo, StreamingContext)

Creates a new instance of the WebControlToolboxItem class using the provided SerializationInfo object and StreamingContext.

WebControlToolboxItem()

Initializes a new instance of the WebControlToolboxItem class.

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

Remarks

The DisplayName is set to a short version of the type name.

Applies to

WebControlToolboxItem(Type)

Creates a new instance of the WebControlToolboxItem class using the provided type.

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)

Parameters

type
Type

The Type of the tool for this toolbox item.

Remarks

The DisplayName is set to a short version of the type name.

Applies to

WebControlToolboxItem(SerializationInfo, StreamingContext)

Creates a new instance of the WebControlToolboxItem class using the provided SerializationInfo object and 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)

Parameters

info
SerializationInfo

A SerializationInfo object containing information needed to instantiate the Web control through deserialization.

context
StreamingContext

A StreamingContext object.

Applies to