DocumentSnapshot Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
DocumentSnapshot(Uri)
Initializes a new instance of the DocumentSnapshot class.
public DocumentSnapshot (Uri moniker);
new Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot : Uri -> Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot
Public Sub New (moniker As Uri)
Parameters
Applies to
DocumentSnapshot(Uri, Boolean, Boolean)
Initializes a new instance of the DocumentSnapshot class.
public DocumentSnapshot (Uri moniker, bool isDirty, bool isReadOnly);
new Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot : Uri * bool * bool -> Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot
Public Sub New (moniker As Uri, isDirty As Boolean, isReadOnly As Boolean)
Parameters
- isDirty
- Boolean
Indicates whether the document has unsaved changes.
- isReadOnly
- Boolean
Indicates whether the document is in a read-only state.
Applies to
DocumentSnapshot(Uri, Boolean, Boolean, Boolean)
Initializes a new instance of the DocumentSnapshot class.
[Newtonsoft.Json.JsonConstructor]
public DocumentSnapshot (Uri moniker, bool isDirty, bool isReadOnly, bool isInitialized);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot : Uri * bool * bool * bool -> Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot
Public Sub New (moniker As Uri, isDirty As Boolean, isReadOnly As Boolean, isInitialized As Boolean)
Parameters
- isDirty
- Boolean
Indicates whether the document has unsaved changes.
- isReadOnly
- Boolean
Indicates whether the document is in a read-only state.
- isInitialized
- Boolean
Indicates whether the document finished initialization.
- Attributes
-
Newtonsoft.Json.JsonConstructorAttribute