ComponentName.ShortClassName Property
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.
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.