Identity.ToString(Boolean) Method

Definition

Caution

deprecated

Returns a string representation of this identity, with optionally more details than that provided by the toString method without any arguments.

[Android.Runtime.Register("toString", "(Z)Ljava/lang/String;", "GetToString_ZHandler")]
[System.Obsolete("deprecated")]
public virtual string? ToString (bool detailed);
[<Android.Runtime.Register("toString", "(Z)Ljava/lang/String;", "GetToString_ZHandler")>]
[<System.Obsolete("deprecated")>]
override this.ToString : bool -> string

Parameters

detailed
Boolean

whether or not to provide detailed information.

Returns

information about this identity. If detailed is true, then this method returns more information than that provided by the toString method without any arguments.

Attributes

Remarks

Returns a string representation of this identity, with optionally more details than that provided by the toString method without any arguments.

First, if there is a security manager, its checkSecurityAccess method is called with "printIdentity" as its argument to see if it's ok to return the string.

Java documentation for java.security.Identity.toString(boolean).

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