WCF-Xtensions Class Reference for Mono
WriteData Property






Gets or sets a value that indicates whether to write extension data when serializing the object.
Syntax
'Declaration
 
Public Property WriteData As System.Boolean
'Usage
 
Dim instance As JsonExtensionDataAttribute
Dim value As System.Boolean
 
instance.WriteData = value
 
value = instance.WriteData
public System.bool WriteData {get; set;}
public read-write property WriteData: System.Boolean; 
public function get,set WriteData : System.boolean
public: __property System.bool get_WriteData();
public: __property void set_WriteData( 
   System.bool value
);
public:
property System.bool WriteData {
   System.bool get();
   void set (    System.bool value);
}

Property Value

true to write extension data when serializing the object; otherwise, false. The default is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JsonExtensionDataAttribute Class
JsonExtensionDataAttribute Members

Send Feedback