Click or drag to resize

ExtendibleEnumTryFromIntT Method

IT Hit WebDAV Classes Reference
Tries to convert int to ExtendibleEnum.

Namespace:  ITHit.Collab
Assembly:  ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax
public static bool TryFromInt<T>(
	int value,
	out T result
)
where T : ExtendibleEnum

Parameters

value
Type: SystemInt32
Integer value to be converted.
result
Type: T
ExtendibleEnum ot type T that match the value parameter.

Type Parameters

T
Type, derived from ExtendibleEnum, to convert to.

Return Value

Type: Boolean
True if the conversion was succesefull, false otherwise.
See Also