語言

IAttributeSet.ClassAttribute 屬性

定義

回傳「class」屬性的值,若沒有則回傳 null。

public string? ClassAttribute { [Android.Runtime.Register("getClassAttribute", "()Ljava/lang/String;", "GetGetClassAttributeHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getClassAttribute", "()Ljava/lang/String;", "GetGetClassAttributeHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.ClassAttribute : string

屬性值

類別屬性的值或空值。

屬性

備註

回傳「class」屬性的值,若沒有則回傳 null。 等同於 getAttributeValue(null,「類別」)。

Android 參考資料。android.util.AttributeSet.getClassAttribute

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於