Export (0) Print
Expand All

ManagementObjectCollection.ManagementObjectEnumerator.Dispose Method

Releases resources associated with this object. After this method has been called, an attempt to use this object will result in an ObjectDisposedException being thrown.

[Visual Basic]
Public Overridable Sub Dispose() Implements IDisposable.Dispose
[C#]
public virtual void Dispose();
[C++]
public: virtual void Dispose();
[JScript]
public function Dispose();

Implements

IDisposable.Dispose

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ManagementObjectCollection.ManagementObjectEnumerator Class | ManagementObjectCollection.ManagementObjectEnumerator Members | System.Management Namespace

Show:
© 2014 Microsoft