SecurityManager.InClass(String) Method

Definition

Caution

deprecated

This legacy security API is not supported on Android.

[Android.Runtime.Register("inClass", "(Ljava/lang/String;)Z", "GetInClass_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
protected virtual bool InClass(string? name);
[<Android.Runtime.Register("inClass", "(Ljava/lang/String;)Z", "GetInClass_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member InClass : string -> bool
override this.InClass : string -> bool

Parameters

name
String

The name of the class to locate in the current execution context.

Returns

Attributes

Remarks

This legacy security API is not supported on Android. Do not use.

Java documentation for java.lang.SecurityManager.inClass(java.lang.String).

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