Dispose Method (PSObject)
In This Topic
Internal use only. Cleans up any resources being used.
Syntax
'Declaration
Public Overridable Sub Dispose( _
ByVal As Boolean _
)
'Usage
Dim instance As PSObject
Dim disposing As Boolean
instance.Dispose(disposing)
public virtual void Dispose(
bool
)
Parameters
- disposing
- true if managed resources should be disposed; otherwise, false.
See Also