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

ContentKeyPolicyPlayReadyContentTypeConverter 类

定义

定义 ContentKeyPolicyPlayReadyContentType 的值。

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

构造函数

ContentKeyPolicyPlayReadyContentTypeConverter()

定义 ContentKeyPolicyPlayReadyContentType 的值。

方法

CanConvert(Type)

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

ReadJson(JsonReader, Type, Object, JsonSerializer)

替代 ReadJson 并将令牌转换为 ContentKeyPolicyPlayReadyContentType。

WriteJson(JsonWriter, Object, JsonSerializer)

替代 ContentKeyPolicyPlayReadyContentType 的 WriteJson 进行序列化。

适用于