C# Class ZForge.Win32.FileAssociation.ProgramIcon

ファイルを表示 Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
None ProgramIcon

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

Parse ( string regString ) : ProgramIcon

Parses string to create and instance of ProgramIcon.

ProgramIcon ( ) : System

Creates instance of ProgramIcon.

ProgramIcon ( string path ) : System

Creates instance of ProgramIcon.

ProgramIcon ( string path, int index ) : System

Creates instance of ProgramIcon.

ToString ( ) : string

Returns string representation of current ProgramIcon.

operator ( ) : bool

Method Details

Equals() public method

Determines whether the specified System.Object is equal to the current System.Object.
public Equals ( object obj ) : bool
obj object The System.Object to compare with the current System.Object.
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

Parse() public static method

Parses string to create and instance of ProgramIcon.
public static Parse ( string regString ) : ProgramIcon
regString string String specifying file path. Icon can be included as well.
return ProgramIcon

ProgramIcon() public method

Creates instance of ProgramIcon.
public ProgramIcon ( ) : System
return System

ProgramIcon() public method

Creates instance of ProgramIcon.
public ProgramIcon ( string path ) : System
path string Filename of file containing icon.
return System

ProgramIcon() public method

Creates instance of ProgramIcon.
public ProgramIcon ( string path, int index ) : System
path string Filename of file containing icon.
index int Index of icon within the file.
return System

ToString() public method

Returns string representation of current ProgramIcon.
public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool

Property Details

None public_oe static_oe property

Represents and empty or nonexistent Program Icon
public static ProgramIcon,ZForge.Win32.FileAssociation None
return ProgramIcon