共用方式為


StreamOptionsFlagConverter Class

Definition

Defines values for StreamOptionsFlag.

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

Constructors

StreamOptionsFlagConverter()

Methods

CanConvert(Type)

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

ReadJson(JsonReader, Type, Object, JsonSerializer)

Overrides ReadJson and converts token to StreamOptionsFlag.

WriteJson(JsonWriter, Object, JsonSerializer)

Overriding WriteJson for StreamOptionsFlag for serialization.

Applies to