Click or drag to resize

EnumExtensionsConvertToT Method

[Missing <summary> documentation for "M:Casewhere.Common.EnumExtensions.ConvertTo``1(System.Enum)"]

Namespace:  Casewhere.Common
Assembly:  Casewhere.Common (in Casewhere.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static T ConvertTo<T>(
	this Enum source
)
where T : struct, new()

Parameters

source
Type: SystemEnum

[Missing <param name="source"/> documentation for "M:Casewhere.Common.EnumExtensions.ConvertTo``1(System.Enum)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Casewhere.Common.EnumExtensions.ConvertTo``1(System.Enum)"]

Return Value

Type: T

[Missing <returns> documentation for "M:Casewhere.Common.EnumExtensions.ConvertTo``1(System.Enum)"]

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