'Declaration
Public Overloads Shared Function FromObject( _
ByVal 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
)
public function FromObject(
: System.TObject
): JToken; static;
public static function FromObject(
: System.Object
) : JToken;
public: static JToken* FromObject(
System.Object*
)
public:
static JToken^ FromObject(
System.Object^
)
Parameters
- o
- The object that will be used to create JToken.
Return Value
A
JToken with the value of the specified object
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