GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>.ConvertToSurrogate 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 surrogate type.
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)
Parameters
- value
- TField
The value.
- surrogate
- TSurrogate
The surrogate.