ContentPropertyAttribute 建構函式

定義

初始化 ContentPropertyAttribute 類別的新執行個體。

多載

名稱 Description
ContentPropertyAttribute()

初始化 ContentPropertyAttribute 類別的新執行個體。

ContentPropertyAttribute(String)

初始化該類別的新實例ContentPropertyAttribute,初始化屬性。Name

ContentPropertyAttribute()

初始化 ContentPropertyAttribute 類別的新執行個體。

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

適用於

ContentPropertyAttribute(String)

初始化該類別的新實例ContentPropertyAttribute,初始化屬性。Name

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

參數

name
String

A String 包含該 Name 財產的價值。

備註

對於Windows Workflow Foundation,以下限制適用於 ContentPropertyAttribute

  • TypeStack<T>、 和 Queue<T> 都不是被支援 ContentProperty 的類型。

  • 空字串會被反序列化為空值。

  • ContentProperty若 A 綁定於欄位,ActivityBind則不會被序列化為 ContentProperty

  • ContentProperty 工作流程標記不支援與非內容屬性的交錯。

適用於