Skip to main content
A newer version of this page is available. .

ResourceDataStorage Methods

A storage that holds appointment resources.
Name Description
Add(Resource) Adds the specified Resource object to the collection of resources in the storage.
Add(Object, String, Color) Adds a new resource with the specific ID, caption and color.
Add(Object, String) Adds a new resource with the specific ID and caption.
Add(Object) Adds a new resource with the specific ID.
AddRange(Resource[]) Appends an array of resources to the storage’s collection.
AddRange(IEnumerable<Resource>) Adds a resource collection to this ResourceDataStorage.
Clear() Removes all ResourceDataStorage resources.
Contains(Resource) Determines whether the storage contains the specified resource.
CreateResource(Object, String, Color) Creates a new resource with the specified ID, caption and color.
CreateResource(Object, String) Creates a new resource with the specified ID and caption.
CreateResource(Object) Creates a new resource with the specified ID.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetColumnNames() Returns names of data fields that belong to this ResourceDataStorage‘s data source.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetObjectRow(Resource) Returns the data row object that contains information about the specified resource.
GetResourceById(Object) Gets a resource within the collection by its ID value.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadFromXml(Stream) Loads settings of resources from the specified stream to the resource storage.
LoadFromXml(String) Loads settings of resources from the specified XML file to the resource storage.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ReloadData() Forces the ResourceDataStorage to reload data from its ResourceDataStorage.DataSource.
Remove(Resource) Removes the specified Resource object from the storage.
SaveToXml(Stream) Saves resources from the resource storage to the specified stream.
SaveToXml(String) Saves resources from the resource storage to an XML file.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also