[#NetPermissions-ClearFlag]
= xref:NetPermissions.adoc[NetPermissions]::ClearFlag
:relfileprefix: ../
:mrdocs:

Remove a flag from a set of flags&period; ClearFlag is only called with `f` &equals;&equals; NetPermissionFlags&colon;&colon;Implicit&period; If that should change in the future, be aware that ClearFlag should not be called with a subflag of a multiflag, e&period;g&period; NetPermissionFlags&colon;&colon;Relay or NetPermissionFlags&colon;&colon;Download, as that would leave `flags` in an invalid state corresponding to none of the existing flags&period;

== Synopsis

Declared in `&lt;net&lowbar;permissions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
ClearFlag(
    xref:NetPermissionFlags.adoc[NetPermissionFlags]& flags,
    xref:NetPermissionFlags.adoc[NetPermissionFlags] f);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *flags*
| The flag set to modify&period;
| *f*
| The flag to remove (must be NetPermissionFlags&colon;&colon;Implicit)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
