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

‘선언
Function NotifyDependentItemSaved ( _
    pHier As IVsHierarchy, _
    itemidParent As UInteger, _
    pszMkDocumentParent As String, _
    itemidDpendent As UInteger, _
    pszMkDocumentDependent As String _
) As Integer
‘사용 방법
Dim instance As IVsEditorFactoryNotify
Dim pHier As IVsHierarchy
Dim itemidParent As UInteger
Dim pszMkDocumentParent As String
Dim itemidDpendent As UInteger
Dim pszMkDocumentDependent As String
Dim returnValue As Integer

returnValue = instance.NotifyDependentItemSaved(pHier, _
    itemidParent, pszMkDocumentParent, _
    itemidDpendent, pszMkDocumentDependent)
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

IVsEditorFactoryNotify Members

Microsoft.VisualStudio.Shell.Interop Namespace