共用方式為


DevicePolicyManager.GetAffiliationIds(ComponentName) Method

Definition

Returns the set of affiliation ids previously set via #setAffiliationIds, or an empty set if none have been set.

[Android.Runtime.Register("getAffiliationIds", "(Landroid/content/ComponentName;)Ljava/util/Set;", "GetGetAffiliationIds_Landroid_content_ComponentName_Handler", ApiSince=26)]
public virtual System.Collections.Generic.ICollection<string> GetAffiliationIds (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getAffiliationIds", "(Landroid/content/ComponentName;)Ljava/util/Set;", "GetGetAffiliationIds_Landroid_content_ComponentName_Handler", ApiSince=26)>]
abstract member GetAffiliationIds : Android.Content.ComponentName -> System.Collections.Generic.ICollection<string>
override this.GetAffiliationIds : Android.Content.ComponentName -> System.Collections.Generic.ICollection<string>

Parameters

Returns

Attributes

Remarks

Returns the set of affiliation ids previously set via #setAffiliationIds, or an empty set if none have been set.

Java documentation for android.app.admin.DevicePolicyManager.getAffiliationIds(android.content.ComponentName).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to