Partilhar via


IVsDataSourceSpecializer.CreateObject(Guid, Type) Method

Definition

Creates an instance of the specified DDEX support entity that is implemented by the DDEX provider for a specific DDEX data source.

public:
 System::Object ^ CreateObject(Guid source, Type ^ objType);
public object CreateObject (Guid source, Type objType);
abstract member CreateObject : Guid * Type -> obj
Public Function CreateObject (source As Guid, objType As Type) As Object

Parameters

source
Guid

A DDEX data source identifier.

objType
Type

A type of DDEX support entity.

Returns

An instance of the specified DDEX support entity that is implemented by the DDEX provider for a specific DDEX data source, if the DDEX provider supports it; otherwise, null.

Exceptions

The objType parameter is null.

Applies to