IVsEditorFactoryNotify::NotifyDependentItemSaved Method (IVsHierarchy^, UInt32, String^, UInt32, String^)

 

Method called when a file is saved.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If 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
);
Return to top
Show: