Udostępnij za pośrednictwem


Modifier.IsPublic(Int32) Method

Definition

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

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

Parameters

mod
Int32

a set of modifiers

Returns

true if mod includes the public modifier; false otherwise.

Attributes

Remarks

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

Java documentation for java.lang.reflect.Modifier.isPublic(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