IAttributeSet.AttributeCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳該集合中可用的屬性數量。
public int AttributeCount { [Android.Runtime.Register("getAttributeCount", "()I", "GetGetAttributeCountHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getAttributeCount", "()I", "GetGetAttributeCountHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.AttributeCount : int
屬性值
正整數,或若集合為空則為 0。
- 屬性
備註
回傳該集合中可用的屬性數量。
另見 XmlPullParser.getAttributeCount(),此方法在解析已編譯的 XML 檔案時對應。
Android 參考資料。android.util.AttributeSet.getAttributeCount
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。