AssemblyBuilder::GetManifestResourceStream Method (Type^, String^)
.NET Framework (current version)
Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- type
-
Type:
System::Type^
The type whose namespace is used to scope the manifest resource name.
- name
-
Type:
System::String^
The name of the manifest resource being requested.
| Exception | Condition |
|---|---|
| NotSupportedException | This method is not currently supported. |
| SecurityException | The caller does not have the required permission. |
If the full name of type is "MyNameSpace.MyClasses" and name is "Dot", GetManifestResourceStream will search for a resource named MyNameSpace.Dot.
ReflectionPermission
when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: