Language

ComponentName.ShortClassName Property

Definition

Gets the class name with the package prefix removed when it is followed by a period; otherwise, gets the full class name.

public string? ShortClassName { [Android.Runtime.Register("getShortClassName", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getShortClassName", "()Ljava/lang/String;", "")>]
member this.ShortClassName : string

Property Value

The class name, shortened by removing the package prefix when it is followed by a period, or the full class name otherwise.

Attributes

Remarks

The shortened form retains the leading period after the package name.

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

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