IVsSyntheticRegion.GetTextImage Method
Gets the text image of the region.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
Function GetTextImage ( _
<OutAttribute> ByRef ppImage As IVsTextImage _
) As Integer
int GetTextImage(
out IVsTextImage ppImage
)
int GetTextImage(
[OutAttribute] IVsTextImage^% ppImage
)
abstract GetTextImage :
ppImage:IVsTextImage byref -> int
function GetTextImage(
ppImage : IVsTextImage
) : int
Parameters
- ppImage
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextImage%
[out] A relative text image that encompasses only the synthetic region's text.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticRegion::GetTextImage(
[out] IVsTextImage **ppImage
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.