ContentPropertyAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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)
參數
備註
對於Windows Workflow Foundation,以下限制適用於 ContentPropertyAttribute:
空字串會被反序列化為空值。
ContentProperty若 A 綁定於欄位,ActivityBind則不會被序列化為ContentProperty。ContentProperty工作流程標記不支援與非內容屬性的交錯。