Partilhar via


FileReference Class

Definition

Describes a manifest file reference.

public ref class FileReference sealed : Microsoft::Build::Tasks::Deployment::ManifestUtilities::BaseReference
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class FileReference : Microsoft.Build.Tasks.Deployment.ManifestUtilities.BaseReference
[<System.Runtime.InteropServices.ComVisible(false)>]
type FileReference = class
    inherit BaseReference
Public NotInheritable Class FileReference
Inherits BaseReference
Inheritance
FileReference
Attributes

Constructors

FileReference()

Initializes a new instance of the FileReference class.

FileReference(String)

Initializes a new instance of the FileReference class.

Properties

ComClasses

Specifies the set of COM classes referenced by the manifest for isolated applications and Reg-Free COM.

Group

Specifies the group for on-demand download functionality. A blank string indicates a primary file.

(Inherited from BaseReference)
Hash

Specifies the SHA1 hash of the file.

(Inherited from BaseReference)
IsDataFile

Specifies whether the file is a data file.

IsOptional

Specifies whether the file is optional for on-deman download functionality.

(Inherited from BaseReference)
ProxyStubs

Specifies the set of proxy stubs referenced by the manifest for isolated applications and Reg-Free COM.

ResolvedPath

Specifies the resolved path to the file. This path is determined by the Resolve method, and is used to compute the file information by the UpdateFileInfo method.

(Inherited from BaseReference)
Size

Specifies the file size in bytes.

(Inherited from BaseReference)
SortName

Gets a value that is used to sort the referenced assemblies in the application manifest.

(Inherited from BaseReference)
SourcePath

Specifies the source path of the file.

(Inherited from BaseReference)
TargetPath

Specifies the target path of the file. This is the path that is used for specification in the generated manifest.

(Inherited from BaseReference)
TypeLibs

Specifies the set of type libraries referenced by the manifest.

XmlComClasses

Gets or sets a property that is used to serialize the ComClasses property to an XML file.

XmlGroup

Gets or sets the group for on-demand download functionality.

(Inherited from BaseReference)
XmlHash

Gets or sets a property that is used to serialize the Hash property to an XML file.

(Inherited from BaseReference)
XmlHashAlgorithm

Gets or sets a property that is used to serialize the hash algorithm to an XML file.

(Inherited from BaseReference)
XmlIsOptional

Gets or sets a property that is used to serialize the IsOptional property to an XML file.

(Inherited from BaseReference)
XmlPath

Gets or sets a property that is used to serialize the path to an XML file.

(Inherited from BaseReference)
XmlProxyStubs

Gets or sets a property that is used to serialize the ProxyStubs property to an XML file.

XmlSize

Gets or sets a property that is used to serialize the Size property to an XML file.

(Inherited from BaseReference)
XmlTypeLibs

Gets or sets a property that is used to serialize the TypeLibs property to an XML file.

XmlWriteableType

Gets or sets a value that indicates whether the file is a data file.

Methods

ToString()

Returns the base reference name.

(Inherited from BaseReference)

Applies to