Cuemon .NET Framework
FromObject(Object) Method

The instance to represent.
Returns a System.String that represents the specified instance.
Syntax
'Declaration
 
Public Overloads Shared Function FromObject( _
   ByVal instance As Object _
) As String
public static string FromObject( 
   object instance
)

Parameters

instance
The instance to represent.

Return Value

A System.String that represents the specified instance.
Remarks
When determining the representation of the specified instance, these rules applies:
1: if the System.Object.ToString method has been overridden, any further processing is skipped
2: any public properties having index parameters is skipped
3: any public properties is appended to the result if System.Object.ToString has not been overridden.

Note: do not call this method from an overridden ToString(..) method as a stackoverflow exception will occur.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

StringConverter Class
StringConverter Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback