Поделиться через


IVsTextStorage.Storage_SetLanguageServiceID - метод

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop (в Microsoft.VisualStudio.TextManager.Interop.dll)

Синтаксис

'Декларация
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

Параметры

  • guidLangService
    Тип: Guid%

    [in]

Возвращаемое значение

Тип: Int32
Если метод завершается успешно, возвращается S_OK.Если происходит сбой, возвращается код ошибки.

Заметки

Модель COM подписи

Из textmgr.idl:

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

Безопасность платформы .NET Framework

См. также

Ссылки

IVsTextStorage Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен