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