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").
파일 보기 프로젝트 열기: dblock/resourcelib 1 사용 예제들

공개 메소드들

메소드 설명
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