Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


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.

C#
public WebControlToolboxItem();

Remarks

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

Applies to

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WebControlToolboxItem(Type)

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

C#
public WebControlToolboxItem(Type 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

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WebControlToolboxItem(SerializationInfo, StreamingContext)

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

C#
protected WebControlToolboxItem(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

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

context
StreamingContext

A StreamingContext object.

Applies to

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1