PhysicalAddressToStringConverter 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
转换 PhysicalAddress 到 /从中 String转换 。
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 2, 2 })]
public class PhysicalAddressToStringConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<System.Net.NetworkInformation.PhysicalAddress,string>
public class PhysicalAddressToStringConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<System.Net.NetworkInformation.PhysicalAddress,string>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 2, 2 })>]
type PhysicalAddressToStringConverter = class
inherit ValueConverter<PhysicalAddress, string>
type PhysicalAddressToStringConverter = class
inherit ValueConverter<PhysicalAddress, string>
Public Class PhysicalAddressToStringConverter
Inherits ValueConverter(Of PhysicalAddress, String)
- 继承
- 特性
注解
有关详细信息和示例,请参阅 EF Core 值转换器 。
构造函数
| 名称 | 说明 |
|---|---|
| PhysicalAddressToStringConverter() |
创建此转换器的新实例。 |
| PhysicalAddressToStringConverter(ConverterMappingHints) |
创建此转换器的新实例。 |
属性
方法
| 名称 | 说明 |
|---|---|
| ComposeWith(ValueConverter) |
使用此实例编写另一个 ValueConverter 实例,以便第一次转换的结果用作第二个转换的输入。 (继承自 ValueConverter) |