ResourceType Class
Represents either a standard integer resource type or a custom resource type name.
Methods
| Method | Description | 
|---|---|
| Equals(obj) | Tests whether one resource type equals another object. | 
| Equals(otherType) | Tests whether one resource type equals another. | 
| GetHashCode() | Gets a hash code suitable for using the resource type as a dictionary key. | 
| ToString() | Gets a string representation of the resource type. | 
Properties
| Property | Description | 
|---|---|
| IntegerValue | Gets the integer value of the resource type, or -1 if the resource type is not an integer. | 
| IsInteger | Gets a flag indicating whether the resource type is an integer type. | 
WixToolset.Dtf.Resources.dll version 6.0.0+8c7432e50072e009353ea5f2c956ccf453476f71
Equals(obj) Method
Tests whether one resource type equals another object.
Declaration
public bool Equals(
  System.Object obj
)
Parameters
| Parameter | Type | Description | 
|---|---|---|
| obj | System.Object | Other object. | 
Return value
bool True if equal, else false.
Equals(otherType) Method
Tests whether one resource type equals another.
Declaration
public bool Equals(
  ResourceType otherType
)
Parameters
| Parameter | Type | Description | 
|---|---|---|
| otherType | ResourceType | Other resource type. | 
Return value
bool True if equal, else false.
GetHashCode() Method
Gets a hash code suitable for using the resource type as a dictionary key.
Declaration
public int GetHashCode()
Return value
int Hash code based on the resource type string.
ToString() Method
Gets a string representation of the resource type.
Declaration
public string ToString()
Return value
string The custom resource name, or the name of a well-known resource type.
IntegerValue Property
Gets the integer value of the resource type, or -1 if the resource type is not an integer.
Declaration
public int IntegerValue { get; set; } 
IsInteger Property
Gets a flag indicating whether the resource type is an integer type.
Declaration
public bool IsInteger { get; set; }