IConverter<TValue,TSurrogate>.ConvertToSurrogate(TValue) 方法

定义

将值转换为值类型。

public TSurrogate ConvertToSurrogate (in TValue value);
abstract member ConvertToSurrogate : 'Value -> 'Surrogate
Public Function ConvertToSurrogate (value As TValue) As TSurrogate

参数

value
TValue

值。

返回

TSurrogate

代理项。

适用于