CSharpProcedural.

HasModifiers(FieldInfo, AccessModifiers) Method

Summary

Returns true if the specified `field` has the specified access `modifiers`.

Syntax

public static bool HasModifiers(FieldInfo field, AccessModifiers modifiers)

Parameters

Name Type Description
field FieldInfo
modifiers AccessModifiers

Return Value

Type Description
bool