_Assembly.GetFiles 方法
定义
重载
| GetFiles() |
为 COM 对象提供对 GetFiles() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetFiles() method. |
| GetFiles(Boolean) |
为 COM 对象提供对 GetFiles(Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetFiles(Boolean) method. |
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.
GetFiles方法获取程序集清单的文件表中的文件。The GetFiles methods get the files in the file table of an assembly manifest.
GetFiles()
为 COM 对象提供对 GetFiles() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetFiles() method.
public:
cli::array <System::IO::FileStream ^> ^ GetFiles();
public System.IO.FileStream[] GetFiles ();
abstract member GetFiles : unit -> System.IO.FileStream[]
Public Function GetFiles () As FileStream()
返回
一个 FileStream 对象数组。An array of FileStream objects.
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.
GetFiles方法获取程序集清单的文件表中的文件。The GetFiles method gets the files in the file table of an assembly manifest.
另请参阅
适用于
GetFiles(Boolean)
为 COM 对象提供对 GetFiles(Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetFiles(Boolean) method.
public:
cli::array <System::IO::FileStream ^> ^ GetFiles(bool getResourceModules);
public System.IO.FileStream[] GetFiles (bool getResourceModules);
abstract member GetFiles : bool -> System.IO.FileStream[]
Public Function GetFiles (getResourceModules As Boolean) As FileStream()
参数
- getResourceModules
- Boolean
true 则包括资源模块;否则,为 false。true to include resource modules; otherwise, false.
返回
一个 FileStream 对象数组。An array of FileStream objects.
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.
GetFiles方法获取程序集清单文件表中的文件,并指定是否包括资源模块。The GetFiles method gets the files in the file table of an assembly manifest, specifying whether to include resource modules.