TextAttributes 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| TextAttributes() | |
| TextAttributes(IDictionary<TextAttribute,String>) | |
| TextAttributes(IReadOnlyDictionary<TextAttribute,String>, IReadOnlyDictionary<TextAttribute,String>) |
TextAttributes()
public:
TextAttributes();
public TextAttributes ();
Public Sub New ()
適用於
TextAttributes(IDictionary<TextAttribute,String>)
public:
TextAttributes(System::Collections::Generic::IDictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ dictionary);
public TextAttributes (System.Collections.Generic.IDictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> dictionary);
new Microsoft.Maui.Graphics.Text.TextAttributes : System.Collections.Generic.IDictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> -> Microsoft.Maui.Graphics.Text.TextAttributes
Public Sub New (dictionary As IDictionary(Of TextAttribute, String))
參數
- dictionary
- IDictionary<TextAttribute,String>
適用於
TextAttributes(IReadOnlyDictionary<TextAttribute,String>, IReadOnlyDictionary<TextAttribute,String>)
public:
TextAttributes(System::Collections::Generic::IReadOnlyDictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ first, System::Collections::Generic::IReadOnlyDictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ second);
public TextAttributes (System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> first, System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> second);
new Microsoft.Maui.Graphics.Text.TextAttributes : System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> * System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> -> Microsoft.Maui.Graphics.Text.TextAttributes
Public Sub New (first As IReadOnlyDictionary(Of TextAttribute, String), second As IReadOnlyDictionary(Of TextAttribute, String))
參數
- second
- IReadOnlyDictionary<TextAttribute,String>