IMutableProperty.SetValueConverter 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.
Overloads
SetValueConverter(Type) |
Sets the custom ValueConverter for this property. |
SetValueConverter(ValueConverter) |
Sets the custom ValueConverter for this property. |
SetValueConverter(Type)
Sets the custom ValueConverter for this property.
public void SetValueConverter (Type? converterType);
abstract member SetValueConverter : Type -> unit
Public Sub SetValueConverter (converterType As Type)
Parameters
- converterType
- Type
A type that derives from ValueConverter, or null
to remove any previously set converter.
Applies to
SetValueConverter(ValueConverter)
Sets the custom ValueConverter for this property.
public void SetValueConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? converter);
abstract member SetValueConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> unit
Public Sub SetValueConverter (converter As ValueConverter)
Parameters
- converter
- ValueConverter
The converter, or null
to remove any previously set converter.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework