ResourceType Class
Represents either a standard integer resource type or a custom resource type name.
Methods
Section titled “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
Section titled “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 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
Equals(obj) Method
Section titled “Equals(obj) Method”Tests whether one resource type equals another object.
Declaration
Section titled “Declaration”public bool Equals( System.Object obj)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| obj | System.Object | Other object. |
Return value
Section titled “Return value”bool True if equal, else false.
Equals(otherType) Method
Section titled “Equals(otherType) Method”Tests whether one resource type equals another.
Declaration
Section titled “Declaration”public bool Equals( ResourceType otherType)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| otherType | ResourceType | Other resource type. |
Return value
Section titled “Return value”bool True if equal, else false.
GetHashCode() Method
Section titled “GetHashCode() Method”Gets a hash code suitable for using the resource type as a dictionary key.
Declaration
Section titled “Declaration”public int GetHashCode()Return value
Section titled “Return value”int Hash code based on the resource type string.
ToString() Method
Section titled “ToString() Method”Gets a string representation of the resource type.
Declaration
Section titled “Declaration”public string ToString()Return value
Section titled “Return value”string The custom resource name, or the name of a well-known resource type.
IntegerValue Property
Section titled “IntegerValue Property”Gets the integer value of the resource type, or -1 if the resource type is not an integer.
Declaration
Section titled “Declaration”public int IntegerValue { get; set; }IsInteger Property
Section titled “IsInteger Property”Gets a flag indicating whether the resource type is an integer type.
Declaration
Section titled “Declaration”public bool IsInteger { get; set; }