使用提供的格式和格式提供者,傳回項目名稱。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Function ToString ( _
format As String, _
formatProvider As IFormatProvider _
) As String
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
參數
- format
型別:System.String
- formatProvider
型別:System.IFormatProvider
傳回值
型別:System.String
格式化的項目名稱。
實作
IFormattable.ToString(String, IFormatProvider)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。