Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.
The manifest resource; or null if no resources were specified during compilation or if the resource is not visible to the caller.
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".
A manifest resource is a resource (such as an image file) that is embedded in the assembly at compile time. For more information about manifest resources, see tp://go.microsoft.com/fwlink/?LinkId=204554 in the MSDN Library.
Resource information is returned only if the resource is visible to the caller, or the caller has System.Security.Permissions.ReflectionPermission.
This method returns null if a private resource in another assembly is accessed and the caller does not have System.Security.Permissions.ReflectionPermission with the System.Security.Permissions.ReflectionPermissionFlag.MemberAccess flag.
If the assembly manifest lists a resource file, Assembly.GetManifestResourceStream(Type, string) returns a System.IO.Stream object even if the resource file cannot be found on disk at the time. If the resource file is not found, passing the resulting System.IO.Stream object to the System.Resources.ResourceReader constructor causes an ArgumentException.