Language

ComponentName.ToShortString Method

Definition

Return string representation of this class without the class's name as a prefix.

[Android.Runtime.Register("toShortString", "()Ljava/lang/String;", "")]
public string? ToShortString();
[<Android.Runtime.Register("toShortString", "()Ljava/lang/String;", "")>]
member this.ToShortString : unit -> string

Returns

A string in the form {package/class}, without the ComponentInfo prefix used by ToString().

Attributes

Remarks

Return string representation of this class without the class's name as a prefix.

Java documentation for android.content.ComponentName.toShortString().

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