你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StreamingLocatorContentKeyTypeConverter 类

定义

定义 StreamingLocatorContentKeyType 的值。

public sealed class StreamingLocatorContentKeyTypeConverter : Newtonsoft.Json.JsonConverter
type StreamingLocatorContentKeyTypeConverter = class
    inherit JsonConverter
Public NotInheritable Class StreamingLocatorContentKeyTypeConverter
Inherits JsonConverter
继承
Newtonsoft.Json.JsonConverter
StreamingLocatorContentKeyTypeConverter

构造函数

StreamingLocatorContentKeyTypeConverter()

定义 StreamingLocatorContentKeyType 的值。

方法

CanConvert(Type)

如果 objectType 可由转换器转换为 StreamingLocatorContentKeyType,则返回 。

ReadJson(JsonReader, Type, Object, JsonSerializer)

重写 ReadJson 并将令牌转换为 StreamingLocatorContentKeyType。

WriteJson(JsonWriter, Object, JsonSerializer)

重写 WriteJson for StreamingLocatorContentKeyType 进行序列化。

适用于