ArcFM Responder Mobile Developer Guide
ToString(String,IFormatProvider) Method






The System.String specifying the format for this GlobalObjectId. Valid values are "G", "N", "D", "B", "P", "F", (""), or null.
The System.IFormatProvider to use to format the value.-or- null to obtain the numeric format information from the current locale setting of the operating system.
Formats the value of the current instance using the specified format.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal format As System.String, _
   ByVal formatProvider As System.IFormatProvider _
) As System.String
'Usage
 
Dim instance As GlobalObjectId
Dim format As System.String
Dim formatProvider As System.IFormatProvider
Dim value As System.String
 
value = instance.ToString(format, formatProvider)
public System.string ToString( 
   System.string format,
   System.IFormatProvider formatProvider
)
public function ToString( 
    format: System.String;
    formatProvider: System.IFormatProvider
): System.String; 
public function ToString( 
   format : System.String,
   formatProvider : System.IFormatProvider
) : System.String;
public: System.string* ToString( 
   System.string* format,
   System.IFormatProvider* formatProvider
) 
public:
System.String^ ToString( 
   System.String^ format,
   System.IFormatProvider^ formatProvider
) 

Parameters

format
The System.String specifying the format for this GlobalObjectId. Valid values are "G", "N", "D", "B", "P", "F", (""), or null.
formatProvider
The System.IFormatProvider to use to format the value.-or- null to obtain the numeric format information from the current locale setting of the operating system.

Return Value

A System.String containing the value of the current instance in the specified format.
Exceptions
ExceptionDescription
System.FormatExceptionThe format value is not "G", "N", "D", "B", "P", "F", (""), or null.
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

GlobalObjectId Structure
GlobalObjectId Members
Overload List

Send Feedback