Skip to content

M_CommandLine_Infrastructure_StringExtensions_FormatInvariant

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

StringExtensions.FormatInvariant Method

Namespace: CommandLine.Infrastructure
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static string FormatInvariant(
	this string value,
	params Object[] arguments
)

VB

<ExtensionAttribute>
Public Shared Function FormatInvariant ( 
	value As String,
	ParamArray arguments As Object()
) As String

C++

public:
[ExtensionAttribute]
static String^ FormatInvariant(
	String^ value, 
	... array<Object^>^ arguments
)

F#

[<ExtensionAttribute>]
static member FormatInvariant : 
        value : string * 
        arguments : Object[] -> string 

Parameters

 

value
Type: System.String
arguments
Type: System.Object[]

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

StringExtensions Class
CommandLine.Infrastructure Namespace

Clone this wiki locally