Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the specified service from the unmanaged service provider.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Declaration
Public Function GetService ( _
guid As Guid _
) As Object
'Usage
Dim instance As ServiceProvider
Dim guid As Guid
Dim returnValue As Object
returnValue = instance.GetService(guid)
public Object GetService(
Guid guid
)
public:
Object^ GetService(
Guid guid
)
member GetService :
guid:Guid -> Object
public function GetService(
guid : Guid
) : Object
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.