C# Class Vestris.ResourceLib.ResourceId

A resource Id. There're two types of resource Ids, reserved integer numbers (eg. RT_ICON) and custom string names (eg. "CUSTOM").
Afficher le fichier Open project: dblock/resourcelib Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Compares two resource Ids by value.

GetHashCode ( ) : int

Resource Id hash code. Resource Ids of the same type have the same hash code.

IsIntResource ( ) : bool

Returns true if the resource is an integer resource.

ResourceId ( IntPtr value ) : System

A resource identifier.

ResourceId ( Kernel32 value ) : System

A well-known resource-type identifier.

ResourceId ( string value ) : System

A custom resource identifier.

ResourceId ( uint value ) : System

A resource identifier.

ToString ( ) : string

String representation of the resource Id.

Private Methods

Méthode Description
IsIntResource ( IntPtr value ) : bool

Returns true if the resource is an integer resource.

Method Details

Equals() public méthode

Compares two resource Ids by value.
public Equals ( object obj ) : bool
obj object Resource Id.
Résultat bool

GetHashCode() public méthode

Resource Id hash code. Resource Ids of the same type have the same hash code.
public GetHashCode ( ) : int
Résultat int

IsIntResource() public méthode

Returns true if the resource is an integer resource.
public IsIntResource ( ) : bool
Résultat bool

ResourceId() public méthode

A resource identifier.
public ResourceId ( IntPtr value ) : System
value System.IntPtr A integer or string resource id.
Résultat System

ResourceId() public méthode

A well-known resource-type identifier.
public ResourceId ( Kernel32 value ) : System
value Kernel32 A well known resource type.
Résultat System

ResourceId() public méthode

A custom resource identifier.
public ResourceId ( string value ) : System
value string
Résultat System

ResourceId() public méthode

A resource identifier.
public ResourceId ( uint value ) : System
value uint A integer resource id.
Résultat System

ToString() public méthode

String representation of the resource Id.
public ToString ( ) : string
Résultat string