Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IUIHostLocale2
Dim pLOGFONT As UIDLGLOGFONT()
Dim returnValue As Integer
returnValue = instance.GetDialogFont(pLOGFONT)
int GetDialogFont(
UIDLGLOGFONT[] pLOGFONT
)
int GetDialogFont(
[OutAttribute] array<UIDLGLOGFONT>^ pLOGFONT
)
abstract GetDialogFont :
pLOGFONT:UIDLGLOGFONT[] byref -> int
function GetDialogFont(
pLOGFONT : UIDLGLOGFONT[]
) : int
Parameters
- pLOGFONT
Type: array<Microsoft.VisualStudio.Shell.Interop.UIDLGLOGFONT[]
[out] Pointer to the dialog box font. Values are taken from the UIDLGLOGFONT enumeration.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IUIHostLocale.GetDialogFont(array<UIDLGLOGFONT[])
Remarks
COM Signature
From uilocale.idl:
HRESULT IUIHostLocale2::GetDialogFont(
[out] UIDLGLOGFONT *plogfont
);
.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.