共用方式為


Inet6Address.ScopeId 屬性

定義

如果這個實例與介面相關聯,則傳回 numeric scopeId。

public int ScopeId { [Android.Runtime.Register("getScopeId", "()I", "")] get; }
[<get: Android.Runtime.Register("getScopeId", "()I", "")>]
member this.ScopeId : int

屬性值

scopeId,如果未設定,則為零。

屬性

備註

如果這個實例與介面相關聯,則傳回 numeric scopeId。 如果未設定任何scoped_id,則傳回的值為零。

已在1.5中新增。

java.net.Inet6Address.getScopeId()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於