次の方法で共有


IVsTextMarkerClient.OnBufferSave(String) Method

Definition

Determines whether the buffer was saved to a different name.

public:
 void OnBufferSave(System::String ^ pszFileName);
public:
 void OnBufferSave(Platform::String ^ pszFileName);
void OnBufferSave(std::wstring const & pszFileName);
public void OnBufferSave (string pszFileName);
abstract member OnBufferSave : string -> unit
Public Sub OnBufferSave (pszFileName As String)

Parameters

pszFileName
String

[in] File name associated with the text buffer. Can be null in buffers where the file name cannot change.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::OnBufferSave(

[in] LPCOLESTR pszFileName

);

This method is called when the buffer is saved.

Applies to