Partager via


ServiceProvider.GetService Method

Include Protected Members
Include Inherited Members

Gets GUID-based services from the unmanaged service provider.

Overload List

  Name Description
Public method GetService(Guid) Gets the specified service from the unmanaged service provider.
Public method GetService(Type) Gets type-based services from the unmanaged service provider.

Top

Remarks

Services are identified for retrieval by an associated GUID. ServiceProvider allows services to be requested directly with a GUID, but is overloaded to permit requests by service type as well.

See Also

Reference

ServiceProvider Class

ServiceProvider Members

Microsoft.VisualStudio.Shell Namespace