ResourceDataStorage Members
In This Article
#Constructors
Name | Description |
---|---|
Resource |
Initializes a new instance of the Resource |
#Properties
Name | Description |
---|---|
Auto |
Gets or sets whether resources are automatically fetched from the data source when it is modified. |
Color |
Gets or sets a type of format to store the color information. |
Count |
Returns the number of resources stored in this Resource |
Custom |
Provides access to the collection of objects, representing mappings of the resources’ custom properties to appropriate data fields. |
Data |
Gets or sets the data source member which supplies data to the storage. |
Data |
Gets or sets the object used as the data source to store resources. |
Filter | Gets or set an expression used as a criteria to filter resources in the storage. |
Filter |
Gets or sets the criteria to filter resources in the storage. |
Is |
Gets a value indicating whether a storage has been disposed of. |
Item[Int32] |
Provides indexed access to the individual items in the collection which can be accessed via the storage’s Resource |
Items | Gets the collection of resources within the storage. |
Mappings | Gets an object that allows the persistent properties of the resources maintained by the current storage to be bound to appropriate fields in the data source. |
Storage |
Returns the storage that owns this Resource |
#Methods
Name | Description |
---|---|
Add |
Adds the specified Resource object to the collection of resources in the storage. |
Add |
Adds a new resource with the specific ID, caption and color. |
Add |
Adds a new resource with the specific ID and caption. |
Add |
Adds a new resource with the specific ID. |
Add |
Appends an array of resources to the storage’s collection. |
Add |
Adds a resource collection to this Resource |
Clear() |
Removes all Resource |
Contains |
Determines whether the storage contains the specified resource. |
Create |
Creates a new resource with the specified ID, caption and color. |
Create |
Creates a new resource with the specified ID and caption. |
Create |
Creates a new resource with the specified ID. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Returns names of data fields that belong to this Resource |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Returns the data row object that contains information about the specified resource. |
Get |
Gets a resource within the collection by its ID value. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Load |
Loads settings of resources from the specified stream to the resource storage. |
Load |
Loads settings of resources from the specified XML file to the resource storage. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reload |
Forces the Resource |
Remove |
Removes the specified Resource object from the storage. |
Save |
Saves resources from the resource storage to the specified stream. |
Save |
Saves resources from the resource storage to an XML file. |
To |
Returns a string that represents the current object. Inherited from Object. |
See Also