Partilhar via


Método IVsTextStorage.Storage_SetLanguageServiceID

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Function Storage_SetLanguageServiceID ( _
    ByRef guidLangService As Guid _
) As Integer
int Storage_SetLanguageServiceID(
    ref Guid guidLangService
)
int Storage_SetLanguageServiceID(
    [InAttribute] Guid% guidLangService
)
abstract Storage_SetLanguageServiceID : 
        guidLangService:Guid byref -> int
function Storage_SetLanguageServiceID(
    guidLangService : Guid
) : int

Parâmetros

  • guidLangService
    Tipo: Guid%

    [in]

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextStorage::Storage_SetLanguageServiceID(
   [in] REFGUID guidLangService
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextStorage Interface

Namespace Microsoft.VisualStudio.TextManager.Interop