IVsEditorFactoryNotify::NotifyDependentItemSaved Method (IVsHierarchy^, UInt32, String^, UInt32, String^)
Visual Studio 2015
Method called when a file is saved.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int NotifyDependentItemSaved( IVsHierarchy^ pHier, unsigned int itemidParent, String^ pszMkDocumentParent, unsigned int itemidDpendent, String^ pszMkDocumentDependent )
Parameters
- pHier
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] Pointer to the IVsHierarchy for the saved item.
- itemidParent
-
Type:
System::UInt32
[in] The item ID (VSITEMID) of the file's parent object.
- pszMkDocumentParent
-
Type:
System::String^
[in] A pointer to a string containing the name of the parent document.
- itemidDpendent
-
Type:
System::UInt32
[in] The item ID (VSITEMID) of the file's dependent object.
- pszMkDocumentDependent
-
Type:
System::String^
[in] A pointer to a string containing the name of the dependent document.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsEditorFactoryNotify::NotifyDependentItemSaved( [in] IVsHierarchy *pHier, [in] VSITEMID itemidParent, [in] LPCOLESTR pszMkDocumentParent, [in] VSITEMID itemidDpendent, [in] LPCOLESTR pszMkDocumentDependent );
Show: