Versioned.TypeName Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a string value containing data type information about a variable.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function TypeName ( _
    Expression As Object _
) As String
public static string TypeName(
    Object Expression
)

Parameters

  • Expression
    Type: System.Object
    Required. Object variable. If Option Strict is Off, you can pass a variable of any data type except a structure.

Return Value

Type: System.String
Returns a string value containing data type information about a variable.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.