Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- typeName
 Type: System.String
 A provider-specific type name.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.