Udostępnij za pośrednictwem


VsTextLineStorageClass.Storage_Attach(Object) Method

Definition

Attaches a text buffer.

public:
 virtual int Storage_Attach(System::Object ^ pBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage::Storage_Attach;
public:
 virtual int Storage_Attach(System::Object ^ pBuffer);
public:
 virtual int Storage_Attach(Platform::Object ^ pBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage::Storage_Attach;
 virtual int Storage_Attach(winrt::Windows::Foundation::IInspectable const & pBuffer);
public virtual int Storage_Attach (object pBuffer);
abstract member Storage_Attach : obj -> int
override this.Storage_Attach : obj -> int
Public Overridable 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.

Implements

Applies to