IVsUIShellOpenDocument3.SetDefaultPreviewer Yöntem

Tanım

Varsayılan olarak, özel olarak veya varolan ön görüntüleyicilere ek olarak bir önizleyici ayarlamaya olanak tanır. Önizleyici kullanılabilir ön görüntüleyicilerden biri olmalıdır.

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)

Parametreler

pPreviewer
IVsDocumentPreviewer

'ndaki Belge önizleyici varsayılan önizleyici olarak ayarlanır.

Resolution
UInt32

'ndaki Belge önizleyicisi 'ın çözünürlüğü.

fExclusive
Boolean

'ndaki Belge önizleyicinin dışlamalı mi yoksa mevcut ön görüntüleyicilere ek olarak mı olduğunu gösterir. İse true belge önizleyici özel olur.

Şunlara uygulanır