IVsSyntheticRegion.GetBaseBufferAnchor(Int32, Int32) Yöntem

Tanım

Bölgenin temel arabellek bağlayıcısını alır.

public:
 int GetBaseBufferAnchor([Runtime::InteropServices::Out] int % piAnchorLine, [Runtime::InteropServices::Out] int % piAnchorIndex);
int GetBaseBufferAnchor([Runtime::InteropServices::Out] int & piAnchorLine, [Runtime::InteropServices::Out] int & piAnchorIndex);
public int GetBaseBufferAnchor (out int piAnchorLine, out int piAnchorIndex);
abstract member GetBaseBufferAnchor : int * int -> int
Public Function GetBaseBufferAnchor (ByRef piAnchorLine As Integer, ByRef piAnchorIndex As Integer) As Integer

Parametreler

piAnchorLine
Int32

dışı Taban arabellek çizgisi konumunun dizini.

piAnchorIndex
Int32

dışı Bölgenin geçerli temel arabellek konumu.

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 IVsSyntheticRegion::GetBaseBufferAnchor(  
   [out] long *piAnchorLine,  
   [out] long *piAnchorIndex  
);  

Şunlara uygulanır