When overridden in derived classes, handles overwriting of an existing item in the project hierarchy.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Sub OverwriteExistingItem ( _
existingNode As HierarchyNode _
)
'使用
Dim existingNode As HierarchyNode
Me.OverwriteExistingItem(existingNode)
protected virtual void OverwriteExistingItem(
HierarchyNode existingNode
)
protected:
virtual void OverwriteExistingItem(
HierarchyNode^ existingNode
)
protected function OverwriteExistingItem(
existingNode : HierarchyNode
)
Parameters
existingNode
Type: Microsoft.VisualStudio.Package.HierarchyNodeThe node to overwrite.
Remarks
When overridden by derived classes, finds the file associated with the node and overwrites it. By default this method does nothing.
Permissions
- 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.