Delen via


SourcePoint.ReadObjectWithSourcePoints<T> Methode

Definitie

Lees object als T en retourneer de begin-/eindpunten voor het object dat is gelezen.

public static T ReadObjectWithSourcePoints<T>(Newtonsoft.Json.JsonReader reader, Func<Newtonsoft.Json.JsonReader,T> read, out Microsoft.Bot.Builder.Dialogs.Debugging.SourcePoint start, out Microsoft.Bot.Builder.Dialogs.Debugging.SourcePoint end);
static member ReadObjectWithSourcePoints : Newtonsoft.Json.JsonReader * Func<Newtonsoft.Json.JsonReader, 'T> * SourcePoint * SourcePoint -> 'T
Public Shared Function ReadObjectWithSourcePoints(Of T) (reader As JsonReader, read As Func(Of JsonReader, T), ByRef start As SourcePoint, ByRef end As SourcePoint) As T

Type parameters

T

type object om te deserialiseren.

Parameters

reader
Newtonsoft.Json.JsonReader

lezer waaruit moet worden gelezen.

read
Func<Newtonsoft.Json.JsonReader,T>

te verwerken functie tijdens het lezen.

start
SourcePoint

beginpunt van resultaat voor object.

end
SourcePoint

eindpunt van resultaat voor object.

Retouren

T

gedeserialiseerd object als type (T).

Van toepassing op