CodeActivityPublicEnvironmentAccessor.Create(CodeActivityMetadata) 方法

定义

创建参数、子活动、变量、和活动委托的描述信息。

public:
 static System::Activities::CodeActivityPublicEnvironmentAccessor Create(System::Activities::CodeActivityMetadata metadata);
public static System.Activities.CodeActivityPublicEnvironmentAccessor Create (System.Activities.CodeActivityMetadata metadata);
static member Create : System.Activities.CodeActivityMetadata -> System.Activities.CodeActivityPublicEnvironmentAccessor
Public Shared Function Create (metadata As CodeActivityMetadata) As CodeActivityPublicEnvironmentAccessor

参数

metadata
CodeActivityMetadata

活动的元数据,用于封装活动的自变量、变量、子活动和活动委托。

返回

参数、子活动、变量、和活动委托的描述。

适用于