Freigeben über


IVsTextViewIntellisenseHost.GetServiceProvider-Methode

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function GetServiceProvider ( _
    <OutAttribute> ByRef ppSP As IServiceProvider _
) As Integer
int GetServiceProvider(
    out IServiceProvider ppSP
)
int GetServiceProvider(
    [OutAttribute] IServiceProvider^% ppSP
)
abstract GetServiceProvider : 
        ppSP:IServiceProvider byref -> int
function GetServiceProvider(
    ppSP : IServiceProvider
) : int

Parameter

  • ppSP
    Typ: IServiceProvider%

     

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie NativeMethods.S_OK zurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

Von singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetServiceProvider([out]IServiceProvider **ppSP);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextViewIntellisenseHost Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace