Share via


DocumentSnapshot Class

Definition

Represents a snapshot of an open document.

[System.Runtime.Serialization.DataContract]
public class DocumentSnapshot
[<System.Runtime.Serialization.DataContract>]
type DocumentSnapshot = class
Public Class DocumentSnapshot
Inheritance
DocumentSnapshot
Attributes

Constructors

DocumentSnapshot(Uri)

Initializes a new instance of the DocumentSnapshot class.

DocumentSnapshot(Uri, Boolean, Boolean)

Initializes a new instance of the DocumentSnapshot class.

DocumentSnapshot(Uri, Boolean, Boolean, Boolean)

Initializes a new instance of the DocumentSnapshot class.

Fields

DocumentVersionUriQueryPartName

Query part name in document moniker that represents the version of the snapshot.

Properties

IsDirty

Gets a value indicating whether the document has unsaved changes.

IsInitialized

Gets a value indicating whether the document is initialized.

IsReadOnly

Gets a value indicating whether the document is in a read-only state.

Moniker

Gets the moniker for the document.

Applies to