Freigeben über


IVsTextTipData.GetTipFontInfo Method

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetTipFontInfo ( _
    cChars As Integer, _
    <OutAttribute> pdwFontAttr As UInteger() _
) As Integer
'Usage
Dim instance As IVsTextTipData
Dim cChars As Integer
Dim pdwFontAttr As UInteger()
Dim returnValue As Integer

returnValue = instance.GetTipFontInfo(cChars, _
    pdwFontAttr)
int GetTipFontInfo(
    int cChars,
    uint[] pdwFontAttr
)
int GetTipFontInfo(
    [InAttribute] int cChars, 
    [OutAttribute] array<unsigned int>^ pdwFontAttr
)
abstract GetTipFontInfo : 
        cChars:int * 
        pdwFontAttr:uint32[] byref -> int 
function GetTipFontInfo(
    cChars : int, 
    pdwFontAttr : uint[]
) : int

Parameters

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 IVsTextTipData::GetTipFontInfo(
   [in] long cChars,
   [out, size_is(cChars)] ULONG *pdwFontAttr
); 

Hinweis

*pdwFontAttr will already have been memset to zeroes, so you can set only the indices that are not normal

.NET Framework Security

See Also

Reference

IVsTextTipData Interface

IVsTextTipData Members

Microsoft.VisualStudio.TextManager.Interop Namespace