String.GetTypeCode Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the TypeCode for class String.

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

abstract GetTypeCode : unit -> TypeCode
override GetTypeCode : unit -> TypeCode

Return Value

Type: System.TypeCode

The enumerated constant, TypeCode.String.

The following example displays the TypeCode enumerated constant for the String type.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: