Export (0) Print
Expand All

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.

ExceptionCondition
ArgumentNullException

The name parameter is a null reference (Nothing in Visual Basic).

InvalidOperationException

The resource specified by name is not a String.

ObjectDisposedException

The object has been closed or disposed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft