ManifestResourceInfo 类

定义

提供对清单资源的访问,这些资源是描述应用程序依赖项的 XML 文件。Provides access to manifest resources, which are XML files that describe application dependencies.

public ref class ManifestResourceInfo
[System.Runtime.InteropServices.ComVisible(true)]
public class ManifestResourceInfo
type ManifestResourceInfo = class
Public Class ManifestResourceInfo
继承
ManifestResourceInfo
属性

构造函数

ManifestResourceInfo(Assembly, String, ResourceLocation)

为由指定的程序集和文件包含且具有指定位置的资源初始化 ManifestResourceInfo 类的新实例。Initializes a new instance of the ManifestResourceInfo class for a resource that is contained by the specified assembly and file, and that has the specified location.

属性

FileName

获取包含清单资源的文件名(如果该文件与清单文件不同)。Gets the name of the file that contains the manifest resource, if it is not the same as the manifest file.

ReferencedAssembly

获取包含清单资源的程序集。Gets the containing assembly for the manifest resource.

ResourceLocation

获取清单资源的位置。Gets the manifest resource's location.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

线程安全性

此类型是线程安全的。This type is thread safe.