Compartir a través de


IUIHostLocale2.GetDialogFont Method

Returns the dialog box font used for the host UI.

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

Syntax

'Declaration
Function GetDialogFont ( _
    <OutAttribute> pLOGFONT As UIDLGLOGFONT() _
) As Integer
int GetDialogFont(
    UIDLGLOGFONT[] pLOGFONT
)
int GetDialogFont(
    [OutAttribute] array<UIDLGLOGFONT>^ pLOGFONT
)
abstract GetDialogFont : 
        pLOGFONT:UIDLGLOGFONT[] byref -> int
function GetDialogFont(
    pLOGFONT : UIDLGLOGFONT[]
) : int

Parameters

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From uilocale.idl:

HRESULT IUIHostLocale2::GetDialogFont(
   [out] UIDLGLOGFONT *plogfont
);

.NET Framework Security

See Also

Reference

IUIHostLocale2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace