ResourceSet.GetObject Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Searches for a resource object with the specified name.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
- Type: System.String
Case-sensitive name of the resource to search for.
| Exception | Condition |
|---|---|
| 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.
Show: