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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om