共用方式為


SoapIncludeAttribute.Type 屬性

定義

取得或設定物件的類型,用於序列化或反序列化物件。

public:
 property Type ^ Type { Type ^ get(); void set(Type ^ value); };
public Type Type { get; set; }
member this.Type : Type with get, set
Public Property Type As Type

屬性值

要包含的物件類型。

備註

將多個 實例 SoapIncludeAttribute 套用到 一個欄位或屬性,該欄位或屬性會回傳一個物件陣列、包含物件集合的物件 ArrayList ,或是能回傳多個型別的物件。 為你想要的欄位或屬性包含的每種類型設定 Type 屬性。

適用於