HierarchyNode.ExcludeFromProject Method

Removes this item from the project, but does not delete it from disk.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Overridable Function ExcludeFromProject As Integer
'使用
Dim returnValue As Integer

returnValue = Me.ExcludeFromProject()
protected virtual int ExcludeFromProject()
protected:
virtual int ExcludeFromProject()
protected function ExcludeFromProject() : int

Return Value

Type: System.Int32

Always returns S_OK.

Remarks

This method calls Remove(false), which removes it from the project without deleting it from disk.

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace