Aracılığıyla paylaş


ServiceProvider.GetService Method (Guid)

Gets the specified service from the unmanaged service provider.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Bildirim
Public Function GetService ( _
    guid As Guid _
) As Object
public Object GetService(
    Guid guid
)

Parameters

  • guid
    Type: System.Guid
    The GUID of the service to retrieve.

Return Value

Type: System.Object
The requested service, or nulla null reference (Nothing in Visual Basic) if the service could not be located.

.NET Framework Security

See Also

Reference

ServiceProvider Class

GetService Overload

Microsoft.VisualStudio.Shell Namespace