DataSourceSpecializer.CreateObject(Guid, Type) Method

Definition

Creates a DDEX-provider implemented object of the given type that is specialized for the specified data source.

public:
 virtual System::Object ^ CreateObject(Guid dataSource, Type ^ objType);

Parameters

dataSource
Guid

GUID of the data source for which the provider is specialized.

objType
Type

Data type of the provider object.

Returns

Returns a specialized object of specified type.

Exceptions

The data source specified with the dataSource parameter is not a registered DDEX data source.

Applies to

Prodotto Versioni
Visual Studio SDK 2017, 2019, 2022