Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Preloads a managed resource.
Definition
Visual Basic Public Sub PreLoad() C# public void PreLoad(); C++ public:
void PreLoad();JScript public function PreLoad();
Remarks
Calling this method indicates that the application will need the managed resource shortly. This method has no effect on nonmanaged resources.
Resource.PreLoad detects "thrashing" conditions, in which more resources are used in each frame than can fit in video memory simultaneously. Under such circumstances, Resource.PreLoad silently does nothing.
Applies To