DataSiteableServiceProvider<T> Class
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.
Represents an implementation of IVsDataSiteableObject and IServiceProvider interfaces.
generic <typename T>
public ref class DataSiteableServiceProvider : Microsoft::VisualStudio::Data::Framework::ServiceProvider, Microsoft::VisualStudio::Data::Core::IVsDataSiteableObject<T>
public class DataSiteableServiceProvider<T> : Microsoft.VisualStudio.Data.Framework.ServiceProvider, Microsoft.VisualStudio.Data.Core.IVsDataSiteableObject<T>
type DataSiteableServiceProvider<'T> = class
inherit ServiceProvider
interface IVsDataSiteableObject<'T>
Public Class DataSiteableServiceProvider(Of T)
Inherits ServiceProvider
Implements IVsDataSiteableObject(Of T)
- T
The type of the parameter.
- Inheritance
- Derived
- Implements
Data |
Initializes a new instance of the DataSiteableServiceProvider<T> class. |
Data |
Initializes a new instance of the DataSiteableServiceProvider<T> class with a site. |
Parent |
Gets the current instance of the parent service provider. (Inherited from ServiceProvider) |
Site |
Gets or sets the site. |
Add |
Adds the specified service to the collection of service objects or to the parent service container. (Inherited from ServiceProvider) |
Add |
Adds the specified service to the internal collection of services. (Inherited from ServiceProvider) |
Add |
Adds the specified service to the internal collection of services or to the parent service container. (Inherited from ServiceProvider) |
Add |
Adds the specified service to the internal collection of services. (Inherited from ServiceProvider) |
Get |
Retrieves a service with a specified service GUID. (Inherited from ServiceProvider) |
Get |
Retrieves a service of the specified type. (Inherited from ServiceProvider) |
On |
Raises the SiteChanged event. |
Remove |
Removes the specified service from the internal services collection or from the parent service container. (Inherited from ServiceProvider) |
Remove |
Removes the specified service from the internal services collection (Inherited from ServiceProvider) |
Site |
Occurs when the site has changed. |
IService |
Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider) |
Query |
Gets a service exposed by a service provider based on its service GUID. |
Query |
Gets a service exposed by a service provider based on its service type. |
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |