Method FindResource
FindResource(Assembly, Type, String)
Aggressively searches to find a resource based on a
Declaration
public static string FindResource(this Assembly assembly, Type type, string name)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | this assembly |
Type | type | a type in the same namespace as the resource |
System.String | name | the resource name to locate |
Returns
Type | Description |
---|---|
System.String | the resource, if found; if not found, returns |