Assembly.GetFiles 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 the files in the file table of an assembly manifest.
Overloads
GetFiles() |
Gets the files in the file table of an assembly manifest. |
GetFiles(Boolean) |
Gets the files in the file table of an assembly manifest, specifying whether to include resource modules. |
GetFiles()
- Source:
- Assembly.cs
- Source:
- Assembly.cs
- Source:
- Assembly.cs
Gets the files in the file table of an assembly manifest.
public:
virtual cli::array <System::IO::FileStream ^> ^ GetFiles();
public virtual System.IO.FileStream[] GetFiles ();
abstract member GetFiles : unit -> System.IO.FileStream[]
override this.GetFiles : unit -> System.IO.FileStream[]
Public Overridable Function GetFiles () As FileStream()
Returns
An array of streams that contain the files.
Implements
Exceptions
A file that was found could not be loaded.
A file was not found.
A file was not a valid assembly.
Remarks
This method works on public and private resource files.
This overload is equivalent to calling the GetFiles(Boolean) overload and specifying false
.
Applies to
GetFiles(Boolean)
- Source:
- Assembly.cs
- Source:
- Assembly.cs
- Source:
- Assembly.cs
Gets the files in the file table of an assembly manifest, specifying whether to include resource modules.
public:
virtual cli::array <System::IO::FileStream ^> ^ GetFiles(bool getResourceModules);
public virtual System.IO.FileStream[] GetFiles (bool getResourceModules);
abstract member GetFiles : bool -> System.IO.FileStream[]
override this.GetFiles : bool -> System.IO.FileStream[]
Public Overridable Function GetFiles (getResourceModules As Boolean) As FileStream()
Parameters
- getResourceModules
- Boolean
true
to include resource modules; otherwise, false
.
Returns
An array of streams that contain the files.
Implements
Exceptions
A file that was found could not be loaded.
A file was not found.
A file was not a valid assembly.
Remarks
This method works on public and private resource files.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示