ServiceProvider Members

Provides a unified service provider for managed VSPackages.

The ServiceProvider type exposes the following members.

Constructors

  Name Description
Public method ServiceProvider Overloaded. Initializes an instance of ServiceProvider.

Top

Methods

  Name Description
Public method Dispose Releases the resources used by the ServiceProvider object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetService Overloaded. Gets GUID-based services from the unmanaged service provider.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IObjectWithSite.GetSite
Explicit interface implemetationPrivate method IObjectWithSite.SetSite

Top

See Also

Reference

ServiceProvider Class

Microsoft.VisualStudio.Shell Namespace