Click or drag to resize

imbSciEnumExtensionsgetEnumsDetectedInStringT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the enum values list from the same enum flags property

Namespace:  imbSCI.Data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static List<T> getEnumsDetectedInString<T>(
	this string text
)
Request Example View Source

Parameters

text
Type: SystemString
The text to test

Type Parameters

T
Enum type to test text against

Return Value

Type: ListT
List of detected enums

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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).
Exceptions
ExceptionCondition
ArgumentExceptionType must be Enum! T = " + enumType.Name
See Also