IFormValueMapper.CanMap(Type, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified value type can be mapped.
public bool CanMap (Type valueType, string scopeName, string? formName);
abstract member CanMap : Type * string * string -> bool
Public Function CanMap (valueType As Type, scopeName As String, formName As String) As Boolean
Parameters
- scopeName
- String
The name of the current FormMappingScope.
- formName
- String
The form name, if values should only be provided for that form, or null to allow values from any form within the scope.
Returns
true
if the value type can be mapped; otherwise, false
.