Click or drag to resize

MvUserTypeAsLong Method

Converts to a long value.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax
public virtual long AsLong(
	long def
)

Parameters

def
Type: SystemInt64
The default value to return if no conversion is possible.

Return Value

Type: Int64
The converted long representation for this type. The default implementation returns def.
Remarks
This method is called by AsLong(Boolean, Int64) when the instance of MvValue to which it applies contains an object whose type is this user-defined type.
See Also