IVsRunningDocumentTable5.HandsOffDocument(UInt32, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bu yöntem genellikle diskteki belgeyi değiştirecek bir işlemden önce çağrılır. İşlem tamamlandığında HandsOnDocument çağrılmalıdır. Şu eylemleri gerçekleştirir:-IVsFileChangeEx. IgnoreFile (true)-IVsTrackProjectDocuments3. HandsOffFilesIf belgenin DocData onu destekler:-IVsPersistDocData3. HandsOffDocDataStorage-IVsDocDataFileChangeControl. ıgnorefilechangesıo, belgenin hiyerarşisi tarafından desteklenir:-IVsPersistHierarchyItem2. IgnoreItemFileChanges
public:
void HandsOffDocument(System::UInt32 cookie, System::String ^ moniker);
public:
void HandsOffDocument(unsigned int cookie, Platform::String ^ moniker);
void HandsOffDocument(unsigned int cookie, std::wstring const & moniker);
public void HandsOffDocument (uint cookie, string moniker);
abstract member HandsOffDocument : uint32 * string -> unit
Public Sub HandsOffDocument (cookie As UInteger, moniker As String)
Parametreler
- cookie
- UInt32
seçim Belge için tanımlama bilgisi (VSCOOKIE_NIL kullanılırsa, bilinen ad parametresi belgeyi tanımlar).
- moniker
- String
seçim Belgenin bilinen adı (yalnızca Cookie = = VSCOOKIE_NIL ise kullanılır).