Freigeben über


IUIHostLocale.GetDialogFont(UIDLGLOGFONT[]) Method

Definition

Returns the dialog box font used for the host UI.

public:
 int GetDialogFont(cli::array <Microsoft::VisualStudio::Shell::Interop::UIDLGLOGFONT> ^ pLOGFONT);
int GetDialogFont(std::Array <Microsoft::VisualStudio::Shell::Interop::UIDLGLOGFONT> const & pLOGFONT);
public int GetDialogFont (Microsoft.VisualStudio.Shell.Interop.UIDLGLOGFONT[] pLOGFONT);
abstract member GetDialogFont : Microsoft.VisualStudio.Shell.Interop.UIDLGLOGFONT[] -> int
Public Function GetDialogFont (pLOGFONT As UIDLGLOGFONT()) As Integer

Parameters

pLOGFONT
UIDLGLOGFONT[]

[out] Pointer to the dialog box font. Values are taken from the UIDLGLOGFONT enumeration.

Returns

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

Remarks

This method must be accessed on the main thread.

Applies to