Share via


IVsDataProvider.GetType Method

Definition

Overloads

GetType(Guid, String)

Resolves a provider-specific type name to its corresponding Type representation, for a specific DDEX data source.

GetType(String)

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

GetType(Guid, String)

Resolves a provider-specific type name to its corresponding Type representation, for a specific DDEX data source.

public:
 Type ^ GetType(Guid source, System::String ^ typeName);
public Type GetType (Guid source, string typeName);
abstract member GetType : Guid * string -> Type
Public Function GetType (source As Guid, typeName As String) As Type

Parameters

source
Guid

A DDEX data source identifier.

typeName
String

A provider-specific type name.

Returns

A Type object that represents the type that is resolved from the specified type name for the specified DDEX data source, if it is found; otherwise, null.

Exceptions

The typeName parameter is null.

<ANY>

The DDEX provider's GetType(Guid, String) or GetType(String) implementation threw an exception.

Applies to

GetType(String)

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

public:
 Type ^ GetType(System::String ^ typeName);
public Type GetType (string typeName);
abstract member GetType : string -> Type
Public Function GetType (typeName As String) As Type

Parameters

typeName
String

A provider-specific type name.

Returns

A Type object that represents the type that is resolved from the specified type name, if it is found; otherwise, null.

Exceptions

The typeName parameter is null.

<ANY>

The DDEX provider's GetType(String) implementation threw an exception.

Applies to