VsTextImageClass.GetTextBSTR(TextSpan[], String) Yöntem

Tanım

Metin yayılma alanının metnini BSTR olarak döndürür

public:
 virtual int GetTextBSTR(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts, [Runtime::InteropServices::Out] System::String ^ % pbstrText) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::GetTextBSTR;
 virtual int GetTextBSTR(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pts, [Runtime::InteropServices::Out] std::wstring const & & pbstrText);
public virtual int GetTextBSTR (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pts, out string pbstrText);
abstract member GetTextBSTR : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * string -> int
override this.GetTextBSTR : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * string -> int
Public Overridable Function GetTextBSTR (pts As TextSpan(), ByRef pbstrText As String) As Integer

Parametreler

pts
TextSpan[]

'ndaki TextSpan Yapı işaretçisi.

pbstrText
String

dışı Metni içeren bir BSTR işaretçisi.

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.

Uygulamalar

Şunlara uygulanır