Click or drag to resize

imbEnumConverterExtensionsconvertRoleToType Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Converts role into appendType

Namespace:  imbSCI.Reporting.enums
Assembly:  imbSCI.Reporting (in imbSCI.Reporting.dll) Version: 0.3.70.
Syntax
C#
public static appendType convertRoleToType(
	this appendRole __role,
	appendType __overrideResult = appendType.none,
	appendType __defaultType = appendType.regular
)
Request Example View Source

Parameters

__role
Type: imbSCI.Core.reporting.style.enumsappendRole
The role.
__overrideResult (Optional)
Type: imbSCI.Data.enums.appendsappendType
If not none it will override any conversion and return this as result
__defaultType (Optional)
Type: imbSCI.Data.enums.appendsappendType
The default append Type to return if no rule is applicable.

Return Value

Type: appendType

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type appendRole. 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