Deployment Tools Foundation
BitmapResource Class
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Resources ► BitmapResource
A subclass of Resource which provides specific methods for manipulating the resource data.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public sealed class BitmapResource : Resource
Public NotInheritable Class BitmapResource Inherits Resource
public ref class BitmapResource sealed : public Resource
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
BitmapResource(String, Int32) |
Creates a new BitmapResource object without any data. The data can be later loaded from a file.
|
|
BitmapResource(String, Int32, array<Byte>[]()[][]) |
Creates a new BitmapResource object with data. The data can be later saved to a file.
|
|
Data |
Gets or sets the raw data of the resource.
(Inherited from Resource.) |
|
Equals(Object) |
Tests if type, name, and locale of this Resource object match another Resource object.
(Inherited from Resource.) |
|
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode()()()() |
Gets a hash code for this Resource object.
(Inherited from Resource.) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
Load(String) |
Loads the resource data from a file. The file is searched for a resource with matching type, name, and locale.
(Inherited from Resource.) |
|
Locale |
Gets or sets the locale of the resource.
(Inherited from Resource.) |
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Name |
Gets or sets the name of the resource. For a numeric resource identifier, the decimal number is prefixed with a "#".
(Inherited from Resource.) |
|
ReadFromFile(String) |
Reads the bitmap from a .bmp file.
|
|
ResourceType |
Gets or sets the type of the resource. This may be one of the ResourceType constants
or a user-defined type name.
(Inherited from Resource.) |
|
Save(String) |
Saves the resource to a file. Any existing resource data with matching type, name, and locale is overwritten.
(Inherited from Resource.) |
|
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
The resource is of type Bitmap (RT_GROUPICON).
Assembly: Microsoft.Deployment.Resources (Module: Microsoft.Deployment.Resources.dll) Version: 3.0.0.0 (3.9.1006.0)