IVsTextViewEx.GetSmartTagRect Method
Gets the smart tag bounding rectangle.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function GetSmartTagRect ( _
<OutAttribute> rcSmartTag As RECT() _
) As Integer
int GetSmartTagRect(
RECT[] rcSmartTag
)
int GetSmartTagRect(
[OutAttribute] array<RECT>^ rcSmartTag
)
abstract GetSmartTagRect :
rcSmartTag:RECT[] byref -> int
function GetSmartTagRect(
rcSmartTag : RECT[]
) : int
Parameters
rcSmartTag
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[][out] The smart tag.
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 textmgr2.idl:
HRESULT IVsTextViewEx::GetSmartTagRect(
[out]RECT *rcSmartTag
);
.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.