Show / Hide Table of Contents

# Class DocSnapshot

Represents a state of the document.

##### Inheritance

object
DocSnapshot

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.SDF

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class DocSnapshot : IDisposable

### Methods

#### Dispose()

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### Equals(DocSnapshot)

Returns whether this snapshot's document state is equivalent to another.

##### Declaration

    public bool Equals(DocSnapshot snapshot)

##### Parameters

Type | Name | Description
--- | --- | ---
DocSnapshot | snapshot | the other snapshot with which to compare

##### Returns

Type | Description
--- | ---
bool | Whether this snapshot's document state is equivalent to another

#### ~DocSnapshot()

##### Declaration

    protected ~DocSnapshot()

#### GetHash()

Returns a hash that is unique to particular document states.

##### Declaration

    public int GetHash()

##### Returns

Type | Description
--- | ---
int | A hash that is unique to particular document states

#### IsValid()

Returns whether this snapshot is valid.

##### Declaration

    public bool IsValid()

##### Returns

Type | Description
--- | ---
bool | Whether this snapshot is valid

### Implements

IDisposable