ResourceSet.ReadResources Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
protected:
virtual void ReadResources();
protected virtual void ReadResources ();
abstract member ReadResources : unit -> unit
override this.ReadResources : unit -> unit
Protected Overridable Sub ReadResources ()
Notes to Inheritors
Derived classes of ResourceSet should explicitly call ReadResources() to load all the resources from the IResourceReader into Table, generally either in the constructor or lazily on the first call to either GetString(String) or GetObject(String). However, if your resource set and IResourceReader already have information about each other and have a more efficient way to load just a few select resources, this step can be skipped. To minimize working set, write your resource set in such a way that it queries your IResourceReader for only the resource values requested by your application.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για