Επεξεργασία

Κοινή χρήση μέσω


AssemblyBuilder.GetFile(String) Method

Definition

Gets a FileStream for the specified file in the file table of the manifest of this assembly.

public:
 override System::IO::FileStream ^ GetFile(System::String ^ name);
public override System.IO.FileStream GetFile (string name);
override this.GetFile : string -> System.IO.FileStream
Public Overrides Function GetFile (name As String) As FileStream

Parameters

name
String

The name of the specified file.

Returns

A FileStream for the specified file, or null, if the file is not found.

Exceptions

This method is not currently supported.

The caller does not have the required permission.

Remarks

name should not include the path to the file.

Applies to