EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

ResourceSet.GetObject Method (String)

May 11, 2014

Searches for a resource object with the specified name.

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

public virtual Object GetObject(
	string name
)

Parameters

name
Type: System.String
Case-sensitive name of the resource to search for.

Return Value

Type: System.Object
The requested resource.

ExceptionCondition
ArgumentNullException

The name parameter is null.

InvalidOperationException

This ResourceSet has been closed.

ObjectDisposedException

The object has been disposed.

The name of the resource object is case sensitive. For a case-insensitive search, use GetObject.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Afficher:
© 2014 Microsoft