ObjectValueConversion AsNullableEnum TEnum  Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Namespace: NFX
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static Nullable<TEnum> AsNullableEnum<TEnum>(
	this Object val,
	Nullable<TEnum> dflt = null,
	ConvertErrorHandling handling = ConvertErrorHandling.ReturnDefault
)
where TEnum : struct, new()

Parameters

val
Type: OnlineSystem Object
dflt (Optional)
Type: OnlineSystem Nullable TEnum 
handling (Optional)
Type: NFX ConvertErrorHandling
Type Parameters

TEnum

Return Value

Type: OnlineNullable TEnum 

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also