NewDocumentStateScope Constructor (__VSNEWDOCUMENTSTATE2, Guid)
Visual Studio 2015
Initializes a new instance of the NewDocumentStateScope class.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- state
-
Type:
Microsoft.VisualStudio.Shell.Interop::__VSNEWDOCUMENTSTATE2
State used for the next document to be opened.
- reason
-
Type:
System::Guid
Reason the state is being set (typically this is a tool window or language service GUID).
Show: