ReferenceTypeSurrogateCodec<TField,TSurrogate>.ConvertToSurrogate 方法

定义

将值转换为代理项类型。

public abstract void ConvertToSurrogate (TField value, ref TSurrogate surrogate);
abstract member ConvertToSurrogate : 'Field * 'Surrogate -> unit
Public MustOverride Sub ConvertToSurrogate (value As TField, ByRef surrogate As TSurrogate)

参数

value
TField

值。

surrogate
TSurrogate

代理项。

适用于