GroupIconResource Class

DTF API

Copy image CopyHover image
Deployment Tools Foundation GroupIconResource Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.ResourcesGroupIconResource
A subclass of Resource which provides specific methods for manipulating the resource data.
Declaration Syntax
C# Visual Basic Visual C++ F#
public sealed class GroupIconResource : Resource
Public NotInheritable Class GroupIconResource
	Inherits Resource
public ref class GroupIconResource sealed : public Resource
[<SealedAttribute>]
type GroupIconResource =  
    class
        inherit Resource
    end
Members
All Members Constructors Methods Properties



Icon Member Description
GroupIconResource(String, Int32)
Creates a new GroupIconResource object without any data. The data can be later loaded from a file.

GroupIconResource(String, Int32, array<Byte>[]()[][])
Creates a new GroupIconResource object with data. The data can be later saved to a file.

Data
Gets or sets the raw data of the resource. The data is in the format of the RT_GROUPICON resource structure.
(Overrides Resource.Data.)
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.)
Icons
Enumerates the the icons in the icon group.

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 icon group from a .ico 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 GroupIcon (RT_GROUPICON).
Inheritance Hierarchy
Object
Resource
  GroupIconResource

Assembly: Microsoft.Deployment.Resources (Module: Microsoft.Deployment.Resources.dll) Version: 3.0.0.0 (3.11.1.2318)