The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
AssemblyBuilder::GetFile Method (String^)
.NET Framework (current version)
Gets a FileStream for the specified file in the file table of the manifest of this assembly.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
-
Type:
System::String^
The name of the specified file.
Return Value
Type: System.IO::FileStream^A FileStream for the specified file, or null, if the file is not found.
Implements
_Assembly::GetFile(String^)| Exception | Condition |
|---|---|
| NotSupportedException | This method is not currently supported. |
| SecurityException | The caller does not have the required permission. |
name should not include the path to the file.
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: