IVsTextMacroHelper.RecordInsertFile(String) Yöntem

Tanım

Dosya Ekle eylemini kaydeder.

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

Parametreler

pwszName
String

Ekli dosyanın adı.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

HRESULT IVsTextMacroHelper::RecordInsertFile(LPCOLESTR pwszName);  

Şunlara uygulanır