Share via


SPFeatureQueryResultCollection.IDisposable.Dispose method

Releases unmanaged resources used by this object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Private Sub Dispose Implements IDisposable.Dispose
'Usage
Dim instance As SPFeatureQueryResultCollection

CType(instance, IDisposable).Dispose()
void IDisposable.Dispose()

Implements

IDisposable.Dispose()

Remarks

Call Dispose when you are finished using the SPFeatureQueryResultCollection class. The Dispose method leaves SPFeatureQueryResultCollection in an unusable state. After calling Dispose, you must release all references to the SPFeatureQueryResultCollection class so the garbage collector can reclaim the memory that SPFeatureQueryResultCollection was occupying.

See also

Reference

SPFeatureQueryResultCollection class

SPFeatureQueryResultCollection members

Microsoft.SharePoint namespace