ActivityMarkupSerializer.CreateInstance 方法

定义

使用指定的 Type 创建指定 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

要在创建此实例时使用的 WorkflowMarkupSerializationManager

type
Type

要创建的 Type

返回

对新创建的 Object 的引用。

适用于