Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
String Class
String Methods
Format Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
String..::.Format Method

Replaces each format item in a specified string with the text equivalent of a corresponding object's value.

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFormat(String, Object)Replaces one or more format items in a specified string with the string representation of a specified object.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFormat(String, array<Object>[]()[])Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFormat(IFormatProvider, String, array<Object>[]()[])Replaces the format item in a specified string with the string representation of a corresponding object in a specified array. A specified parameter supplies culture-specific formatting information.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFormat(String, Object, Object)Replaces the format items in a specified string with the string representations of two specified objects.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFormat(String, Object, Object, Object)Replaces the format items in a specified string with the string representation of three specified objects.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Formatting (Format Item) Reference      Third_of_Five   |   Edit   |   Show History
http://msdn.microsoft.com/en-us/library/txafckwd.aspx
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker