Resources.GetString(Type, String, String) Method

Gets a String from the internal resources.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public static string GetString(
	Type type,
	string key,
	string defaultValue
)

Parameters

type  Type
The Type of Object requesting the resource.
key  String
The resource key to use to find the resource.
defaultValue  String
A default value to use in case the resource cannot be found.

Return Value

String
A String containing the found resource.

Remarks

If defaultValue is not specified, it is assumed to be Empty.

Exceptions

ArgumentNullExceptionThrown if key is null.

See Also