IVsFileChangeEx.IgnoreFile Yöntem (UInt32, String, Int32)
Bir dosyadaki değişiklikler yok sayar.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)
Sözdizimi
int IgnoreFile(
uint VSCOOKIE,
string pszMkDocument,
int fIgnore
)
int IgnoreFile(
unsigned int VSCOOKIE,
String^ pszMkDocument,
int fIgnore
)
abstract IgnoreFile :
VSCOOKIE:uint32 *
pszMkDocument:string *
fIgnore:int -> int
Function IgnoreFile (
VSCOOKIE As UInteger,
pszMkDocument As String,
fIgnore As Integer
) As Integer
Parametreler
VSCOOKIE
Type: System.UInt32[in] Dosyayı tanımlayan VSCOOKIE. Sonra dosyayı belirtmek için bu parametreyi kullanırsanız pszMkDocument ayarlanmalıdır null.
pszMkDocument
Type: System.String[in] Belge ad tanıtıcısı biçiminin proje sistemde dize. Dosyalar belgeler söz konusu olduğunda, her zaman dosyasının yolu budur. Sonra dosyayı belirtmek için bu parametreyi kullanırsanız vsCookie ayarlanmalıdır null.
fIgnore
Type: System.Int32[in] Varsa true, ardından dosya değişiklikleri yoksay. Varsa false, dosya değişiklikleri yoksaymayın.
Dönüş Değeri
Type: System.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.
Notlar
COM imza
Vsshell.idl:
HRESULT IVsFileChangeEx::IgnoreFile(
[in] VSCOOKIE vsCookie,
[in] LPCOLESTR pszMkDocument,
[in] BOOL fIgnore
);
Hangisini vsCookie veya pszMkDocument dosyası belirtmek için parametre. Her iki parametre kullanılırsa, E_INVALIDARG döndürülür.
Ayrıca bkz.
IVsFileChangeEx Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön