WCF-Xtensions Class Reference for Mono
FromObject(Object) Method






The object that will be used to create JToken.
Creates a JToken from an object.
Syntax
'Declaration
 
Public Overloads Shared Function FromObject( _
   ByVal o As System.Object _
) As JToken
'Usage
 
Dim o As System.Object
Dim value As JToken
 
value = JToken.FromObject(o)
public static JToken FromObject( 
   System.object o
)
public function FromObject( 
    o: System.TObject
): JToken; static; 
public static function FromObject( 
   o : System.Object
) : JToken;
public: static JToken* FromObject( 
   System.Object* o
) 
public:
static JToken^ FromObject( 
   System.Object^ o
) 

Parameters

o
The object that will be used to create JToken.

Return Value

A JToken with the value of the specified object
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

JToken Class
JToken Members
Overload List

Send Feedback