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