ProjectElement.RemoveFromProjectFile Method

Removes this item from the project file.

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

Syntax

'宣言
Public Sub RemoveFromProjectFile
'使用
Dim instance As ProjectElement

instance.RemoveFromProjectFile()
public void RemoveFromProjectFile()
public:
void RemoveFromProjectFile()
public function RemoveFromProjectFile()

Remarks

Once the item is deleted, you can no longer use it. Note that the item should be removed from the hierarchy prior to calling this method.

Permissions

See Also

Reference

ProjectElement Class

ProjectElement Members

Microsoft.VisualStudio.Package Namespace