編集

次の方法で共有


ActivityToolboxItem Constructors

Definition

Initializes a new instance of the ActivityToolboxItem class.

Overloads

ActivityToolboxItem()

Initializes a new instance of the ActivityToolboxItem class.

ActivityToolboxItem(Type)

Initializes a new instance of the ActivityToolboxItem class that creates the specified type of Activity component.

ActivityToolboxItem(SerializationInfo, StreamingContext)

Initializes a new instance of the ActivityToolboxItem class by using the specified SerializationInfo and StreamingContext.

ActivityToolboxItem()

Initializes a new instance of the ActivityToolboxItem class.

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

Remarks

The parameterless constructor for the ActivityToolboxItem class.

Applies to

ActivityToolboxItem(Type)

Initializes a new instance of the ActivityToolboxItem class that creates the specified type of Activity component.

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

Parameters

type
Type

The type of the Activity that the toolbox item will create.

Applies to

ActivityToolboxItem(SerializationInfo, StreamingContext)

Initializes a new instance of the ActivityToolboxItem class by using the specified SerializationInfo and StreamingContext.

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

Parameters

info
SerializationInfo

The SerializationInfo that holds information to deserialize the toolbox item.

context
StreamingContext

The StreamingContext that provides the deserialization context for the toolbox item.

Remarks

When ActivityToolboxItem is called, it deserializes the toolbox item.

Applies to