DeviceAdminInfo.GetTagForPolicy(DeviceAdminUses) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the XML tag name for the given policy identifier.
[Android.Runtime.Register("getTagForPolicy", "(I)Ljava/lang/String;", "")]
public string? GetTagForPolicy (Android.App.Admin.DeviceAdminUses policyIdent);
[<Android.Runtime.Register("getTagForPolicy", "(I)Ljava/lang/String;", "")>]
member this.GetTagForPolicy : Android.App.Admin.DeviceAdminUses -> string
Parameters
- policyIdent
- DeviceAdminUses
Returns
- Attributes
Remarks
Return the XML tag name for the given policy identifier. Valid identifiers are as per #usesPolicy(int)
. If the given identifier is not known, null is returned.
Java documentation for android.app.admin.DeviceAdminInfo.getTagForPolicy(int)
.
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.