Assembly.GetManifestResourceStream Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Loads the specified manifest resource from this assembly.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
- Type: System.String
The case-sensitive name of the manifest resource being requested.
Return Value
Type: System.IO.StreamA Stream representing the manifest resource; null if no resources were specified during compilation, or if the resource is not visible to the caller.
| Exception | Condition |
|---|---|
| ArgumentNullException | The name parameter is null. |
| ArgumentException | The name parameter is an empty string (""). |
| FileLoadException | A file that was found could not be loaded. |
| FileNotFoundException | name was not found. |
| BadImageFormatException | name is not a valid assembly. |
| MemberAccessException | The method is invoked late-bound through mechanisms such as Type.InvokeMember. |
Show: