Assembly.GetManifestResourceStream Method (Type, String)
Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Type
The type whose namespace is used to scope the manifest resource name.
- Type: System.String
The case-sensitive name of the manifest resource being requested.
The name parameter is null.
The name parameter is an empty string ("").
A file that was found could not be loaded.
name was not found.
name is not a valid assembly.
The method is invoked late-bound through mechanisms such as Type.InvokeMember.
For example, if the full name specified for type is "MyNameSpace.MyClasses" and name is "Net", this method overload searches for a resource named "MyNameSpace.Net".
Resource information is returned only if the resource is visible to the caller. This method returns null if a private resource in another assembly is accessed