Share via


CollectionDataContractAttribute.IsReference プロパティ

定義

オブジェクト参照データを保持するかどうかを示す値を取得または設定します。

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。それ以外の場合は false。 既定値は、false です。

注釈

IsReference の設定はコレクションの要素には適用されません。

適用対象

こちらもご覧ください