IVsEditorFactoryNotify.NotifyDependentItemSaved Method

Method called when a file is saved.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function NotifyDependentItemSaved ( _
    pHier As IVsHierarchy, _
    itemidParent As UInteger, _
    pszMkDocumentParent As String, _
    itemidDpendent As UInteger, _
    pszMkDocumentDependent As String _
) As Integer
int NotifyDependentItemSaved(
    IVsHierarchy pHier,
    uint itemidParent,
    string pszMkDocumentParent,
    uint itemidDpendent,
    string pszMkDocumentDependent
)
int NotifyDependentItemSaved(
    [InAttribute] IVsHierarchy^ pHier, 
    [InAttribute] unsigned int itemidParent, 
    [InAttribute] String^ pszMkDocumentParent, 
    [InAttribute] unsigned int itemidDpendent, 
    [InAttribute] String^ pszMkDocumentDependent
)
abstract NotifyDependentItemSaved : 
        pHier:IVsHierarchy * 
        itemidParent:uint32 * 
        pszMkDocumentParent:string * 
        itemidDpendent:uint32 * 
        pszMkDocumentDependent:string -> int
function NotifyDependentItemSaved(
    pHier : IVsHierarchy, 
    itemidParent : uint, 
    pszMkDocumentParent : String, 
    itemidDpendent : uint, 
    pszMkDocumentDependent : String
) : int

Parameters

  • 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.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsEditorFactoryNotify::NotifyDependentItemSaved(
   [in] IVsHierarchy *pHier, 
   [in] VSITEMID itemidParent, 
   [in] LPCOLESTR pszMkDocumentParent, 
   [in] VSITEMID itemidDpendent, 
   [in] LPCOLESTR pszMkDocumentDependent
);

.NET Framework Security

See Also

Reference

IVsEditorFactoryNotify Interface

Microsoft.VisualStudio.Shell.Interop Namespace