IConverter<TValue,TSurrogate>.ConvertToSurrogate(TValue) 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.
Converts a value to the value type.
public TSurrogate ConvertToSurrogate (in TValue value);
abstract member ConvertToSurrogate : 'Value -> 'Surrogate
Public Function ConvertToSurrogate (value As TValue) As TSurrogate
Parameters
- value
- TValue
The value.
Returns
TSurrogate
The surrogate.