CollectionDataContractAttribute.IsReference CollectionDataContractAttribute.IsReference CollectionDataContractAttribute.IsReference CollectionDataContractAttribute.IsReference Property

定義

取得或設定值,這個值表示是否要保留物件參考資料。Gets or sets a value that indicates whether to preserve object reference data.

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

屬性值

true 表示保留物件參考資料,否則為 falsetrue to keep object reference data; otherwise, false. 預設為 falseThe default is false.

備註

IsReference 設定不適用於集合項目。The IsReference setting does not apply to the elements of the collection.

適用於

另請參閱