| MvValueAsFile Method |
Namespace: RW.Server.ComponentAssembly: 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
)
Public Overridable Function AsFile (
Optional direct As Boolean = false,
Optional def As MvFile = Nothing
) As MvFile
public:
virtual MvFile AsFile(
bool direct = false,
MvFile def = nullptr
)
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