ServiceProvider.GetService Method

Include Protected Members
Include Inherited Members

Gets GUID-based services from the unmanaged service provider.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

Microsoft.VisualStudio.Shell Namespace