Method IsValidResource
IsValidResource(string, ResRefType)
Determines if the supplied resource exists and is of the specified type.
public bool IsValidResource(string name, ResRefType type = ResRefType.UTC)
Parameters
namestringThe resource name to check.
typeResRefTypeThe type of this resource.
Returns
- bool
true if the supplied resource exists and is of the specified type, otherwise false.