RuntimeNamePropertyAttribute(String) 构造函数

定义

初始化 RuntimeNamePropertyAttribute 类的新实例,同时初始化此实例的 Name

public:
 RuntimeNamePropertyAttribute(System::String ^ name);
public RuntimeNamePropertyAttribute (string name);
new System.Workflow.ComponentModel.Serialization.RuntimeNamePropertyAttribute : string -> System.Workflow.ComponentModel.Serialization.RuntimeNamePropertyAttribute
Public Sub New (name As String)

参数

name
String

一个 string,其中包含与此实例关联的名称。

适用于