Click or drag to resize
ResourceSetGetString Method (String)
Searches for a String resource with the specified name.

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual string GetString(
	string name
)

Parameters

name
Type: SystemString
Name of the resource to search for.

Return Value

Type: String
The value of a resource, if the value is a String.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe name parameter is null.
InvalidOperationExceptionThe resource specified by name is not a String.
ObjectDisposedExceptionThe object has been closed or disposed.
See Also