C# Класс 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").
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IsIntResource ( IntPtr value ) : bool

Returns true if the resource is an integer resource.

Описание методов

Equals() публичный Метод

Compares two resource Ids by value.
public Equals ( object obj ) : bool
obj object Resource Id.
Результат bool

GetHashCode() публичный Метод

Resource Id hash code. Resource Ids of the same type have the same hash code.
public GetHashCode ( ) : int
Результат int

IsIntResource() публичный Метод

Returns true if the resource is an integer resource.
public IsIntResource ( ) : bool
Результат bool

ResourceId() публичный Метод

A resource identifier.
public ResourceId ( IntPtr value ) : System
value System.IntPtr A integer or string resource id.
Результат System

ResourceId() публичный Метод

A well-known resource-type identifier.
public ResourceId ( Kernel32 value ) : System
value Kernel32 A well known resource type.
Результат System

ResourceId() публичный Метод

A custom resource identifier.
public ResourceId ( string value ) : System
value string
Результат System

ResourceId() публичный Метод

A resource identifier.
public ResourceId ( uint value ) : System
value uint A integer resource id.
Результат System

ToString() публичный Метод

String representation of the resource Id.
public ToString ( ) : string
Результат string