Class
EnumExtensions

Holds extension methods for Enum class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public static class EnumExtensions

Inheritance: objectEnumExtensions

Methods

ConvertTo<T>(object)

Converts value to the enumerator of type T.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public static T ConvertTo<T>(object value)

Parameters

value

object

Value to be converted.

Returns

T

Value converted to the enumerator type.

GetValues(Type)

Retrieves an array of the values of the constants in a specified enumeration.

Declaration

cs-api-definition
public static object[] GetValues(Type enumType)

Parameters

enumType

Type

An enumeration type.

Returns

object[]

In this article
DefinitionMethodsConvertTo<T>(object)GetValues(Type)
Not finding the help you need?
Contact Support