Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Each call returns a new Picture instance.
Picture resources such as the picture texture and thumbnail are cached in each Picture instance. Retrieving and maintaining references to multiple instances of the same picture, and then accessing the picture texture or thumbnail on each of those instances, creates multiple copies of the texture or thumbnail. Large numbers of picture textures can consume considerable memory, so it is not advisable to hold a large number of Picture objects on which GetTexture has been called.