共用方式為


WordServiceApplicationProxy.ToString Method (String, IFormatProvider)

Formats the value of the current instance using the specified format.

Namespace:  Microsoft.Office.Word.Server.Service
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
Public Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String
'Usage
Dim instance As WordServiceApplicationProxy
Dim format As String
Dim formatProvider As IFormatProvider
Dim returnValue As String

returnValue = instance.ToString(format, _
    formatProvider)
public string ToString(
    string format,
    IFormatProvider formatProvider
)

Parameters

  • format
    Type: System.String

    A [System.String] that specifies the format to use. If a null reference (Nothing in Visual Basic), the default format defined for the type of the [System.IFormattable] implementation is used.

  • formatProvider
    Type: System.IFormatProvider

    The [System.IFormatProvider] to use to format the value. If a null reference (Nothing in Visual Basic), the numeric format information from the current locale setting of the operating system is used.

Return Value

Type: System.String
Returns String.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also

Reference

WordServiceApplicationProxy Class

WordServiceApplicationProxy Members

ToString Overload

Microsoft.Office.Word.Server.Service Namespace