FriendCollection.Dispose Method
Immediately releases the unmanaged resources used by this object.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
Syntax
public void Dispose ()
Remarks
Call Dispose when you are finished using the FriendCollection. The Dispose method leaves the FriendCollection in an unusable state. After calling Dispose, you must release all references to the FriendCollection so the garbage collector can reclaim the memory that the FriendCollection was occupying.
Note
Always call Dispose before you release your last reference to the FriendCollection.
See Also
Reference
FriendCollection Class
FriendCollection Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP