SPFeatureQueryResultCollection.IDisposable.Dispose Method
Releases unmanaged resources used by this object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Private Sub Dispose Implements IDisposable.Dispose
'Usage
Dim instance As SPFeatureQueryResultCollection
CType(instance, IDisposable).Dispose()
void IDisposable.Dispose()
Implements
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