Share via


LocationTagged<T>.ToString Method (String, IFormatProvider)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a string representation of the current instance.

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

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

returnValue = instance.ToString(format, _
    formatProvider)
public string ToString(
    string format,
    IFormatProvider formatProvider
)
public:
virtual String^ ToString(
    String^ format, 
    IFormatProvider^ formatProvider
) sealed
abstract ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string  
override ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string
public final function ToString(
    format : String, 
    formatProvider : IFormatProvider
) : String

Parameters

Return Value

Type: System.String
A string that represents the current instance.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also

Reference

LocationTagged<T> Class

ToString Overload

System.Web.Razor.Text Namespace