Partilhar via


BaseReference Class

Definition

Describes base functionality common to both file and assembly references.

public ref class BaseReference abstract
[System.Runtime.InteropServices.ComVisible(false)]
public abstract class BaseReference
[<System.Runtime.InteropServices.ComVisible(false)>]
type BaseReference = class
Public MustInherit Class BaseReference
Inheritance
BaseReference
Derived
Attributes

Remarks

Note derived classes are serialization formats. Do not rename or remove private members.

Constructors

BaseReference()

Initializes a new instance of the BaseReference class.

BaseReference(String)

Initializes a new instance of the BaseReference class.

Properties

Group

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

Hash

Specifies the SHA1 hash of the file.

IsOptional

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

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.

Size

Specifies the file size in bytes.

SortName

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

SourcePath

Specifies the source path of the file.

TargetPath

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

XmlGroup

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

XmlHash

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

XmlHashAlgorithm

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

XmlIsOptional

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

XmlPath

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

XmlSize

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

Methods

ToString()

Returns the base reference name.

Applies to