Click or drag to resize

MvUserTypeAsRef Method

Converts to a MvRef value.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax
public virtual MvRef AsRef(
	MvRef def
)

Parameters

def
Type: RW.Server.ComponentMvRef
The default value to return if no conversion is possible.

Return Value

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