IVsViewRangeClient.AdjustViewRange Yöntem

Tanım

Görünüm aralığını belirtilen şekilde ayarlayın.

public:
 int AdjustViewRange(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, Microsoft::VisualStudio::TextManager::Interop::TextViewAction action, int iLine, int iCount);
public:
 int AdjustViewRange(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, Microsoft::VisualStudio::TextManager::Interop::TextViewAction action, int iLine, int iCount);
int AdjustViewRange(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView, Microsoft::VisualStudio::TextManager::Interop::TextViewAction action, int iLine, int iCount);
public int AdjustViewRange (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView, Microsoft.VisualStudio.TextManager.Interop.TextViewAction action, int iLine, int iCount);
abstract member AdjustViewRange : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * Microsoft.VisualStudio.TextManager.Interop.TextViewAction * int * int -> int
Public Function AdjustViewRange (pView As IVsTextView, action As TextViewAction, iLine As Integer, iCount As Integer) As Integer

Parametreler

pView
IVsTextView

'ndaki Metin görünümü.

action
TextViewAction

'ndaki Metin görünümü eylemi.

iLine
Int32

'ndaki Aralığın satır numarası.

iCount
Int32

'ndaki Aralığın karakter sayısı.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

HRESULT IVsViewRangeClient::AdjustViewRange(  
   [in] IVsTextView *pView,  
   [in] TextViewAction action,  
   [in] long iLine,  
   [in] long iCount  
);  

Şunlara uygulanır