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)
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
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)
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework