ActivityMarkupSerializer.CreateInstance(WorkflowMarkupSerializationManager, Type) 方法

定义

使用指定的 Type 创建指定 WorkflowMarkupSerializationManager 的实例。Creates an instance of the specified Type using the specified WorkflowMarkupSerializationManager.

protected:
 override System::Object ^ CreateInstance(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, Type ^ type);
protected override object CreateInstance (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, Type type);
override this.CreateInstance : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * Type -> obj
Protected Overrides Function CreateInstance (serializationManager As WorkflowMarkupSerializationManager, type As Type) As Object

参数

serializationManager
WorkflowMarkupSerializationManager

要在创建此实例时使用的 WorkflowMarkupSerializationManagerThe WorkflowMarkupSerializationManager to use in this instance creation.

type
Type

要创建的 TypeThe Type to create.

返回

Object

对新创建的 Object 的引用。A reference to the newly created Object.

适用于