Windows apps
Collapse the table of content
Expand the table of content
Information
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.

Assembly::GetFiles Method ()

 

Gets the files in the file table of an assembly manifest.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual array<FileStream^>^ GetFiles()

Return Value

Type: array<System.IO::FileStream^>^

An array of streams that contain the files.

Exception Condition
FileLoadException

A file that was found could not be loaded.

FileNotFoundException

A file was not found.

BadImageFormatException

A file was not a valid assembly.

This method works on public and private resource files.

This overload is equivalent to calling the GetFiles(Boolean) overload and specifying false.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft