次の方法で共有


IdentityScope.AddIdentity(Identity) Method

Definition

Caution

deprecated

Adds an identity to this identity scope.

[Android.Runtime.Register("addIdentity", "(Ljava/security/Identity;)V", "GetAddIdentity_Ljava_security_Identity_Handler")]
[System.Obsolete("deprecated")]
public abstract void AddIdentity (Java.Security.Identity? identity);
[<Android.Runtime.Register("addIdentity", "(Ljava/security/Identity;)V", "GetAddIdentity_Ljava_security_Identity_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member AddIdentity : Java.Security.Identity -> unit

Parameters

identity
Identity

the identity to be added.

Attributes

Exceptions

if the specified Identity is invalid or an identity with the same key already exists.

Remarks

Adds an identity to this identity scope.

Java documentation for java.security.IdentityScope.addIdentity(java.security.Identity).

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