共用方式為


VideoScaleModeConverter Class

Definition

Defines values for VideoScaleMode.

public sealed class VideoScaleModeConverter : Newtonsoft.Json.JsonConverter
type VideoScaleModeConverter = class
    inherit JsonConverter
Public NotInheritable Class VideoScaleModeConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
VideoScaleModeConverter

Constructors

VideoScaleModeConverter()

Methods

CanConvert(Type)

Returns if objectType can be converted to VideoScaleMode by the converter.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Overrides ReadJson and converts token to VideoScaleMode.

WriteJson(JsonWriter, Object, JsonSerializer)

Overriding WriteJson for VideoScaleMode for serialization.

Applies to