IVsExternalCompletionSet.SetIntellisenseHost, méthode
Définissez l'hôte d'Intellisense qui contrôle l'affichage de la liste de saisie semi-automatique.
Espace de noms : Microsoft.VisualStudio.TextManager.Interop
Assembly : Microsoft.VisualStudio.TextManager.Interop.8.0 (dans Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntaxe
'Déclaration
Function SetIntellisenseHost ( _
pHost As IVsIntellisenseHost _
) As Integer
int SetIntellisenseHost(
IVsIntellisenseHost pHost
)
int SetIntellisenseHost(
[InAttribute] IVsIntellisenseHost^ pHost
)
abstract SetIntellisenseHost :
pHost:IVsIntellisenseHost -> int
function SetIntellisenseHost(
pHost : IVsIntellisenseHost
) : int
Paramètres
pHost
Type : Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost[in] un objet d'IVsIntellisenseHost représentant l'hôte d'Intellisense qui affiche la liste de saisie semi-automatique.
Valeur de retour
Type : Int32
Si réussi, retours S_OK ; sinon, retours code d'erreur.
Notes
Signature de COM
De singlefileeditor.idl :
HRESULT IVsExternalCompletionSet::SetIntellisenseHost(
[in] IVsIntellisenseHost *pHost
);
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.