Click or drag to resize

EnumerationExtensionsWithFlagT Method

[Missing <summary> documentation for "M:Altaxo.Collections.EnumerationExtensions.WithFlag``1(System.Enum,``0,System.Boolean)"]


Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static T WithFlag<T>(
	this Enum type,
	T flag,
	bool value
)
where T : struct, new()

Parameters

type  Enum

[Missing <param name="type"/> documentation for "M:Altaxo.Collections.EnumerationExtensions.WithFlag``1(System.Enum,``0,System.Boolean)"]

flag  T

[Missing <param name="flag"/> documentation for "M:Altaxo.Collections.EnumerationExtensions.WithFlag``1(System.Enum,``0,System.Boolean)"]

value  Boolean

[Missing <param name="value"/> documentation for "M:Altaxo.Collections.EnumerationExtensions.WithFlag``1(System.Enum,``0,System.Boolean)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Collections.EnumerationExtensions.WithFlag``1(System.Enum,``0,System.Boolean)"]

Return Value

T

[Missing <returns> documentation for "M:Altaxo.Collections.EnumerationExtensions.WithFlag``1(System.Enum,``0,System.Boolean)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Enum. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also