Share via


IVsDataProvider.GetType Method (String)

Resolves a provider-specific type name to its corresponding Type representation.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'Declaration
Function GetType ( _
    typeName As String _
) As Type
Type GetType(
    string typeName
)
Type^ GetType(
    String^ typeName
)
abstract GetType : 
        typeName:string -> Type
function GetType(
    typeName : String
) : Type

Parameters

Return Value

Type: System.Type
A Type object that represents the type that is resolved from the specified type name, if it is found; otherwise, nulla null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is nulla null reference (Nothing in Visual Basic).

[<ANY>]

The DDEX provider's GetType implementation threw an exception.

Remarks

This method delegates to the GetType method, passing Empty as the value of the source parameter.

.NET Framework Security

See Also

Reference

IVsDataProvider Interface

GetType Overload

Microsoft.VisualStudio.Data.Core Namespace