Click or drag to resize
MvValueAsFile Method
Converts to MvFile.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public virtual MvFile AsFile(
	bool direct = false,
	MvFile def = null
)

Parameters

direct (Optional)
Type: SystemBoolean
If true, an exact type match is required.
def (Optional)
Type: RW.Server.ComponentMvFile
The default result.

Return Value

Type: MvFile
If the match is exact, the contained value. Otherwise, and if an exact type match is not required: If the value contained is a string, an new MvFile with the string contents as name, and a null contents.the default value in all other cases.
See Also