C# Class ImageGlass.Library.FileAssociations.ProgramIcon

Show file Open project: d2phap/ImageGlass 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 ( )

Creates instance of ProgramIcon.

ProgramIcon ( string path )

Creates instance of ProgramIcon.

ProgramIcon ( string path, int index )

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 ( )

ProgramIcon() public method

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

ProgramIcon() public method

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

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 static property

Represents and empty or nonexistent Program Icon
public static ProgramIcon,ImageGlass.Library.FileAssociations None
return ProgramIcon