FontAndColorProviderBase.IVsFontAndColorDefaults.GetFont(FontInfo[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得編輯器使用的字體。
virtual int Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaults.GetFont(cli::array <Microsoft::VisualStudio::Shell::Interop::FontInfo> ^ fontInfo) = Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorDefaults::GetFont;
int IVsFontAndColorDefaults.GetFont(Microsoft.VisualStudio.Shell.Interop.FontInfo[] fontInfo);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaults.GetFont : Microsoft.VisualStudio.Shell.Interop.FontInfo[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaults.GetFont : Microsoft.VisualStudio.Shell.Interop.FontInfo[] -> int
Function GetFont (fontInfo As FontInfo()) As Integer Implements IVsFontAndColorDefaults.GetFont
參數
- fontInfo
- FontInfo[]
字體資訊。
傳回
字體物件。