次の方法で共有


TextAttributesExtensions.GetIntAttribute メソッド

定義

public:
[System::Runtime::CompilerServices::Extension]
 static int GetIntAttribute(Microsoft::Maui::Graphics::Text::ITextAttributes ^ attributes, Microsoft::Maui::Graphics::Text::TextAttribute type, int defaultValue);
public static int GetIntAttribute (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, Microsoft.Maui.Graphics.Text.TextAttribute type, int defaultValue);
static member GetIntAttribute : Microsoft.Maui.Graphics.Text.ITextAttributes * Microsoft.Maui.Graphics.Text.TextAttribute * int -> int
<Extension()>
Public Function GetIntAttribute (attributes As ITextAttributes, type As TextAttribute, defaultValue As Integer) As Integer

パラメーター

attributes
ITextAttributes
defaultValue
Int32

戻り値

適用対象