IVsDataSourceSpecializer.CreateObject(Guid, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.