共用方式為


StretchModeConverter Class

Definition

Defines values for StretchMode.

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

Constructors

StretchModeConverter()

Methods

CanConvert(Type)

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

ReadJson(JsonReader, Type, Object, JsonSerializer)

Overrides ReadJson and converts token to StretchMode.

WriteJson(JsonWriter, Object, JsonSerializer)

Overriding WriteJson for StretchMode for serialization.

Applies to