ArcFM Engine 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 String, _
   ByVal formatProvider As IFormatProvider _
) As String
'Usage
 
Dim instance As GlobalObjectId
Dim format As String
Dim formatProvider As IFormatProvider
Dim value As String
 
value = instance.ToString(format, formatProvider)
public string ToString( 
   string format,
   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 XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

GlobalObjectId Structure
GlobalObjectId Members
Overload List

 

 


Send Comment