Udostępnij za pośrednictwem


IVsUIShellOpenDocument3.SetDefaultPreviewer Method

Definition

Allows setting a previewer as default, either exclusive or in addition to the existing previewers. The previewer must be one of the available previewers.

public:
 void SetDefaultPreviewer(Microsoft::VisualStudio::Shell::Interop::IVsDocumentPreviewer ^ pPreviewer, System::UInt32 Resolution, bool fExclusive);
public:
 void SetDefaultPreviewer(Microsoft::VisualStudio::Shell::Interop::IVsDocumentPreviewer ^ pPreviewer, unsigned int Resolution, bool fExclusive);
void SetDefaultPreviewer(Microsoft::VisualStudio::Shell::Interop::IVsDocumentPreviewer const & pPreviewer, unsigned int Resolution, bool fExclusive);
public void SetDefaultPreviewer (Microsoft.VisualStudio.Shell.Interop.IVsDocumentPreviewer pPreviewer, uint Resolution, bool fExclusive);
abstract member SetDefaultPreviewer : Microsoft.VisualStudio.Shell.Interop.IVsDocumentPreviewer * uint32 * bool -> unit
Public Sub SetDefaultPreviewer (pPreviewer As IVsDocumentPreviewer, Resolution As UInteger, fExclusive As Boolean)

Parameters

pPreviewer
IVsDocumentPreviewer

[in] The document previewer to set as the default previewer.

Resolution
UInt32

[in] The resolution of the document previewer.

fExclusive
Boolean

[in] Indicates whether the document previewer is exclusive or in addition to the existing previewers. If true, the document previewer is exclusive.

Applies to