FontStretch.Compare(FontStretch, FontStretch) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較 FontStretch 物件的兩個執行個體。
public:
static int Compare(System::Windows::FontStretch left, System::Windows::FontStretch right);
public static int Compare (System.Windows.FontStretch left, System.Windows.FontStretch right);
static member Compare : System.Windows.FontStretch * System.Windows.FontStretch -> int
Public Shared Function Compare (left As FontStretch, right As FontStretch) As Integer
參數
- left
- FontStretch
要比較的第一個 FontStretch 物件。
- right
- FontStretch
要比較的第二個 FontStretch 物件。
傳回
一個 Int32 值,表示兩個 FontStretch 執行個體之間的關聯性。
備註
當傳回值小於零時,left
小於 right
。 當此值為零時,即表示兩個運算元相等。 當此值大於零時,即表示 left
大於 right
。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應