This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ResourceSet Members
Public:
Constructor
Methods
Close |
Closes and releases any resources used by this ResourceSet, if any. All calls to methods on the ResourceSet after a call to this method may fail. |
CreateWriter |
Creates a resource writer for the specified file. The type of the resource writer to be created is determined by GetDefaultWriter. If the file already exists, it will be overwritten. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetDefaultReader |
Returns the preferred resource reader class for this kind of ResourceSet. Subclasses of ResourceSet using their own ResourceReader should override GetDefaultReader and GetDefaultWriter. |
GetDefaultWriter |
Returns the preferred resource writer class for this kind of ResourceSet. Subclasses of ResourceSet using their own ResourceWriter should override GetDefaultReader and GetDefaultWriter. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetObject |
Looks up an object value for a resource given its name. |
GetString |
Looks up a String value for a resource given its name. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Constructor
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
ReadResources |
Reads all the resources and stores them in Table. |
Fields
Reader |
The resource reader used to read the resources. |
Table |
The Hashtable in which the resources are stored. |
See Also
ResourceSet Class | System.Resources Namespace