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


IVsTextStorage.Storage_Attach - метод

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

Синтаксис

'Декларация
Function Storage_Attach ( _
    pBuffer As Object _
) As Integer
int Storage_Attach(
    Object pBuffer
)
int Storage_Attach(
    [InAttribute] Object^ pBuffer
)
abstract Storage_Attach : 
        pBuffer:Object -> int
function Storage_Attach(
    pBuffer : Object
) : int

Параметры

  • pBuffer
    Тип: Object

    [in]

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

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

Заметки

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

Из textmgr.idl:

HRESULT IVsTextStorage::Storage_Attach(
   [in] IUnknown *pBuffer
);

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

См. также

Ссылки

IVsTextStorage Интерфейс

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