Share via


IVsTextStorage.Storage_Attach(Object) Method

Definition

Attaches a text buffer.

public:
 int Storage_Attach(System::Object ^ pBuffer);
public:
 int Storage_Attach(Platform::Object ^ pBuffer);
int Storage_Attach(winrt::Windows::Foundation::IInspectable const & pBuffer);
public int Storage_Attach (object pBuffer);
abstract member Storage_Attach : obj -> int
Public Function Storage_Attach (pBuffer As Object) As Integer

Parameters

pBuffer
Object

[in] The text buffer.

Returns

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

Remarks

COM Signature

From textmgr.idl:

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

Applies to