IVsTextView.RestrictViewRange(Int32, Int32, IVsViewRangeClient) Yöntem

Tanım

Görünümün görünür/düzenlenebilir satır aralığını, arabelleğin çizgilerinin bir alt kümesiyle azaltır.

public:
 int RestrictViewRange(int iMinLine, int iMaxLine, Microsoft::VisualStudio::TextManager::Interop::IVsViewRangeClient ^ pClient);
public:
 int RestrictViewRange(int iMinLine, int iMaxLine, Microsoft::VisualStudio::TextManager::Interop::IVsViewRangeClient ^ pClient);
int RestrictViewRange(int iMinLine, int iMaxLine, Microsoft::VisualStudio::TextManager::Interop::IVsViewRangeClient const & pClient);
public int RestrictViewRange (int iMinLine, int iMaxLine, Microsoft.VisualStudio.TextManager.Interop.IVsViewRangeClient pClient);
abstract member RestrictViewRange : int * int * Microsoft.VisualStudio.TextManager.Interop.IVsViewRangeClient -> int
Public Function RestrictViewRange (iMinLine As Integer, iMaxLine As Integer, pClient As IVsViewRangeClient) As Integer

Parametreler

iMinLine
Int32

'ndaki En küçük satır numarası.

iMaxLine
Int32

'ndaki En büyük satır numarası.

pClient
IVsViewRangeClient

'ndaki Görünüm aralığı istemcisi.

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.

Şunlara uygulanır