IVsTextStorage::Storage_Attach Method (Object^)

 

Attaches a text buffer.

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

int Storage_Attach(
	Object^ pBuffer
)

Parameters

pBuffer
Type: System::Object^

[in] The text buffer.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextStorage::Storage_Attach(
   [in] IUnknown *pBuffer
);
Return to top
Show: