Export (0) Print
Expand All

String.ToLowerInvariant Method

Note: This method is new in the .NET Framework version 2.0.

Returns a copy of this String object converted to lowercase using the casing rules of the invariant culture.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public string ToLowerInvariant ()
public String ToLowerInvariant ()
public function ToLowerInvariant () : String

Return Value

A String object in lowercase.

If your application depends on the case of a string changing in a predictable way that is unaffected by the current culture, use the ToLowerInvariant method. The ToLowerInvariant method is equivalent to ToLower(CultureInfo.InvariantCulture).

Security Considerations

If you need the lowercase or uppercase version of an operating system identifier, such as a file name, named pipe, or registry key, use the ToLowerInvariant or ToUpperInvariant methods.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft