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
pHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to the IVsHierarchy for the saved item.
itemidParent
Type: UInt32[in] The item ID (VSITEMID) of the file's parent object.
pszMkDocumentParent
Type: String[in] A pointer to a string containing the name of the parent document.
itemidDpendent
Type: UInt32[in] The item ID (VSITEMID) of the file's dependent object.
pszMkDocumentDependent
Type: String[in] A pointer to a string containing the name of the dependent document.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.