IVsUIShellOpenDocument3::SetDefaultPreviewer Method (IVsDocumentPreviewer^, UInt32, Boolean)
Visual Studio 2015
Allows setting a previewer as default, either exclusive or in addition to the existing previewers. The previewer must be one of the available previewers.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
void SetDefaultPreviewer( IVsDocumentPreviewer^ pPreviewer, unsigned int Resolution, bool fExclusive )
Parameters
- pPreviewer
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsDocumentPreviewer^
[in] The document previewer to set as the default previewer.
- Resolution
-
Type:
System::UInt32
[in] The resolution of the document previewer.
- fExclusive
-
Type:
System::Boolean
[in] Indicates whether the document previewer is exclusive or in addition to the existing previewers. If true, the document previewer is exclusive.
Show: