21 lines
1.0 KiB
C#
21 lines
1.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Provides functionality to format the value of an object into a string representation.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x02000007 RID: 7
|
|
[ComVisible(true)]
|
|
public interface IFormattable
|
|
{
|
|
/// <summary>Formats the value of the current instance using the specified format.</summary>
|
|
/// <returns>The value of the current instance in the specified format.</returns>
|
|
/// <param name="format">The format to use.-or- A null reference (Nothing in Visual Basic) to use the default format defined for the type of the <see cref="T:System.IFormattable" /> implementation. </param>
|
|
/// <param name="formatProvider">The provider to use to format the value.-or- A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system. </param>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x0600006F RID: 111
|
|
string ToString(string format, IFormatProvider formatProvider);
|
|
}
|
|
}
|