Skip to content

M_CommandLine_Infrastructure_StringExtensions_ToStringInvariant__1

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

StringExtensions.ToStringInvariant(T) Method

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

Syntax

C#

publicstaticstringToStringInvariant<T>(thisTvalue)

VB

<ExtensionAttribute>PublicSharedFunctionToStringInvariant(OfT)(valueAsT)AsString

C++

public: [ExtensionAttribute] generic<typename T> static String^ ToStringInvariant( T value )

F#

[<ExtensionAttribute>]static memberToStringInvariant:value :'T ->string 

Parameters

value
Type: T

Type Parameters

T

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 . 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