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

'宣言
Function GetType ( _
    typeName As String _
) As Type
'使用
Dim instance As IVsDataProvider
Dim typeName As String
Dim returnValue As Type

returnValue = instance.GetType(typeName)
Type GetType(
    string typeName
)
Type^ GetType(
    String^ typeName
)
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, a null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is a 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.

Permissions

See Also

Reference

IVsDataProvider Interface

IVsDataProvider Members

GetType Overload

Microsoft.VisualStudio.Data.Core Namespace