DocumentReference class [SDM]
Platform SDK: System Definition Model Overview |
DocumentReference
Note: This documentation is preliminary and is subject to change.
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) |
Determines whether the specified Object is equal to the current Object. |
Equals(Object, Object) | Static (Shared). Determines whether the specified Object instances are considered equal. |
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() |
Gets the Type of the current instance. |
ReferenceEquals(Object, Object) | Static (Shared). Determines whether the specified Object instances are the same instance. |
ToString() |
Returns a String that represents the current Object. |
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() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone() |
Creates a shallow copy of the current Object. |
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
Last updated: June 2005 | What did you think of this topic? | Order a Platform SDK CD |
© Microsoft Corporation. All rights reserved. Terms of use. |