Skip to content

ResourceType Class

Represents either a standard integer resource type or a custom resource type name.

MethodDescription
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.
PropertyDescription
IntegerValueGets the integer value of the resource type, or -1 if the resource type is not an integer.
IsIntegerGets a flag indicating whether the resource type is an integer type.
WixToolset.Dtf.Resources.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Tests whether one resource type equals another object.

public bool Equals(
System.Object obj
)
ParameterTypeDescription
objSystem.ObjectOther object.

bool True if equal, else false.

Tests whether one resource type equals another.

public bool Equals(
ResourceType otherType
)
ParameterTypeDescription
otherTypeResourceTypeOther resource type.

bool True if equal, else false.

Gets a hash code suitable for using the resource type as a dictionary key.

public int GetHashCode()

int Hash code based on the resource type string.

Gets a string representation of the resource type.

public string ToString()

string The custom resource name, or the name of a well-known resource type.

Gets the integer value of the resource type, or -1 if the resource type is not an integer.

public int IntegerValue { get; set; }

Gets a flag indicating whether the resource type is an integer type.

public bool IsInteger { get; set; }