IVsExpansionIntellisenseHost.GetSelection(Int32, Int32) Yöntem

Tanım

Geçerli genişletme seçiminin başlangıç ve bitiş konumlarını alır.

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

Parametreler

iStart
Int32

dışı Genişleme metin aralığının başlangıç konumu.

iEnd
Int32

dışı Genişleme metin aralığının bitiş konumu.

Döndürülenler

Int32

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

Açıklamalar

C++

Singlefileeditor. IDL öğesinden:

HRESULT IVsExpansionIntellisenseHost::GetSelection([out] long *iStart, [out] long *iEnd);

Şunlara uygulanır