Partager via


IVsTextMacroHelper.RecordInsertFile(String) Method

Definition

Records insert file action.

public:
 int RecordInsertFile(System::String ^ pwszName);
public:
 int RecordInsertFile(Platform::String ^ pwszName);
int RecordInsertFile(std::wstring const & pwszName);
public int RecordInsertFile (string pwszName);
abstract member RecordInsertFile : string -> int
Public Function RecordInsertFile (pwszName As String) As Integer

Parameters

pwszName
String

The name of the file inserted.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMacroHelper::RecordInsertFile(LPCOLESTR pwszName);  

Applies to