WCF-Xtensions Class Reference for .NET
OverrideConstructor Property (JsonObjectContract)






Gets or sets the override constructor used to create the object. This is set when a constructor is marked up using the JsonConstructor attribute.
Syntax
public System.Reflection.ConstructorInfo OverrideConstructor {get; set;}
public read-write property OverrideConstructor: System.Reflection.ConstructorInfo; 
public function get,set OverrideConstructor : System.Reflection.ConstructorInfo
public: __property System.Reflection.ConstructorInfo* get_OverrideConstructor();
public: __property void set_OverrideConstructor( 
   System.Reflection.ConstructorInfo* value
);
public:
property System.Reflection.ConstructorInfo^ OverrideConstructor {
   System.Reflection.ConstructorInfo^ get();
   void set (    System.Reflection.ConstructorInfo^ value);
}
'Declaration
 
Public Property OverrideConstructor As System.Reflection.ConstructorInfo
 
'Usage
 
Dim instance As JsonObjectContract
Dim value As System.Reflection.ConstructorInfo
 
instance.OverrideConstructor = value
 
value = instance.OverrideConstructor

Property Value

The override constructor.
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

JsonObjectContract Class
JsonObjectContract Members

Send Feedback