DocumentReference

DocumentReference

Defines SDM documents that are loaded as references.

The DocumentReference class is derived from the System.Object class.

Public Constructors

The DocumentReference class has the following public constructor.

Constructor Description
DocumentReference(String)

Initializes a new instance of the DocumentReference class for the specified file.

Public Methods

The DocumentReference class has the following public methods.

Method Description
Equals(Object)

Equals(Object, Object)

Static (Shared).

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures such as a hash table.

GetType()

ReferenceEquals(Object, Object)

Static (Shared).

ToString()

Public Properties

The DocumentReference class has the following public properties.

Property Description
Filename Data type: String
Access type: Read-only

Gets the name of the file to use to load the references contained in the reference search path.

Loaded Data type: Boolean
Access type: Read-only

Gets a value indicating whether the referenced document is loaded.

OutOfDate Data type: Boolean
Access type: Read-only

Gets a value indicating whether the timestamp of the referenced file has changed since the last compile.

ResolvedFilename Data type: String
Access type: Read-only

Gets the name of the file from which this document was loaded.

Protected Methods

The DocumentReference class has the following protected methods.

Method Description
Finalize()

MemberwiseClone()

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools

Send comments about this topic to Microsoft

Build date: 10/2/2007