Click or drag to resize

EnumerationExtensionsWithSetFlagT Method

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


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

Parameters

type  Enum

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

value  T

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

Type Parameters

T

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

Return Value

T

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

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