Modifier.IsProtected(Int32) Method

Definition

Return true if the integer argument includes the protected modifier, false otherwise.

[Android.Runtime.Register("isProtected", "(I)Z", "")]
public static bool IsProtected (int mod);
[<Android.Runtime.Register("isProtected", "(I)Z", "")>]
static member IsProtected : int -> bool

Parameters

mod
Int32

a set of modifiers

Returns

true if mod includes the protected modifier; false otherwise.

Attributes

Remarks

Return true if the integer argument includes the protected modifier, false otherwise.

Java documentation for java.lang.reflect.Modifier.isProtected(int).

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