Partilhar via


ServiceProvider.QueryService Method (Guid, Object%)

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

Syntax

'Declaração
Public Function QueryService ( _
    guid As Guid, _
    <OutAttribute> ByRef service As Object _
) As Integer
public int QueryService(
    Guid guid,
    out Object service
)

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ServiceProvider Class

QueryService Overload

Microsoft.VisualStudio.Shell Namespace