Eyeshot 10 WPF API Reference
SetUnset<T> Method

WPF Assembly > devDept.Geometry Namespace > FlagsHelper Class : SetUnset<T> Method
The data to modify
The flag to set/unset
If true, the flag is set, else it's unset
Sets or unsets a flag depending on the set value.
Syntax
'Declaration
 
Public Shared Sub SetUnset(Of T As {New, Struct})( _
   ByRef flags As T, _
   ByVal flag As T, _
   ByVal set As Boolean _
) 
public static void SetUnset<T>( 
   ref T flags,
   T flag,
   bool set
)
where T: new(), struct

Parameters

flags
The data to modify
flag
The flag to set/unset
set
If true, the flag is set, else it's unset

Type Parameters

T
See Also

Reference

FlagsHelper Class
FlagsHelper Members