ResourceSet.GetString Method (String)

 

Searches for a String resource with the specified name.

Namespace:   System.Resources
Assembly:  mscorlib (in mscorlib.dll)

abstract GetString : 
        name:string -> string
override GetString : 
        name:string -> string

Parameters

name
Type: System.String

Name of the resource to search for.

Return Value

Type: System.String

The value of a resource, if the value is a String.

Exception Condition
ArgumentNullException

The name parameter is null.

InvalidOperationException

The resource specified by name is not a String.

ObjectDisposedException

The object has been closed or disposed.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: