AssemblyBuilder.GetFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om