HostItem.Clear Method
Resets the properties of the HostItem to empty or default values.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Protected Overrides Sub Clear
'Usage
Me.Clear()
protected override void Clear()
protected:
virtual void Clear() override
protected override function Clear()
Remarks
Properties that are String are set to Empty, properties that are Int32 are set to 0, and properties that are Boolean are set to their default values.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace