Udostępnij za pośrednictwem


DataProviderObjectFactory Class

Definition

Allows you to create data objects implemented by a DDEX provider.

public ref class DataProviderObjectFactory abstract : Microsoft::VisualStudio::Data::ObjectWithSite
public abstract class DataProviderObjectFactory : Microsoft.VisualStudio.Data.ObjectWithSite
type DataProviderObjectFactory = class
    inherit ObjectWithSite
Public MustInherit Class DataProviderObjectFactory
Inherits ObjectWithSite
Inheritance
DataProviderObjectFactory
Derived

Constructors

DataProviderObjectFactory()

Class constructor. Initializes an instance of the DataProviderObjectFactory class.

Properties

DataProvider

Retrieves the DDEX provider for which this class creates objects.

Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

CreateObject(Type)

Creates a data-provider-written object that implements the specified object type.

GetAssembly(String)

Locates an assembly given an assembly string.

GetType(String)

Retrieves a type definition given a type name.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from ObjectWithSite)

Events

SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

IObjectWithSite.GetSite(Guid, IntPtr)

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. In cases where there is no known site, the object returns an exception.

(Inherited from ObjectWithSite)
IObjectWithSite.SetSite(Object)

Provides the site's pointer to the site object.

(Inherited from ObjectWithSite)

Applies to