Table of Contents

Method TryParse

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Core.dll

TryParse(string)

public static XmpPacket? TryParse(string xml)

Parameters

xml string

Returns

XmpPacket

TryParse(string, LoadOptions)

public static XmpPacket? TryParse(string xml, LoadOptions xmlLoadOptions)

Parameters

xml string
xmlLoadOptions LoadOptions

Returns

XmpPacket

TryParse(byte[])

public static XmpPacket? TryParse(byte[] xmlUtf)

Parameters

xmlUtf byte[]

Returns

XmpPacket

TryParse(byte[], LoadOptions)

public static XmpPacket? TryParse(byte[] xmlUtf, LoadOptions xmlLoadOptions)

Parameters

xmlUtf byte[]
xmlLoadOptions LoadOptions

Returns

XmpPacket

TryParse(byte[], int, int)

public static XmpPacket? TryParse(byte[] xmlUtf, int startIndex, int length)

Parameters

xmlUtf byte[]
startIndex int
length int

Returns

XmpPacket

TryParse(byte[], int, int, LoadOptions)

public static XmpPacket? TryParse(byte[] xmlUtf, int startIndex, int length, LoadOptions xmlLoadOptions)

Parameters

xmlUtf byte[]
startIndex int
length int
xmlLoadOptions LoadOptions

Returns

XmpPacket

TryParse(Stream)

public static XmpPacket? TryParse(Stream stream)

Parameters

stream Stream

Returns

XmpPacket

TryParse(Stream, LoadOptions)

public static XmpPacket? TryParse(Stream stream, LoadOptions xmlLoadOptions)

Parameters

stream Stream
xmlLoadOptions LoadOptions

Returns

XmpPacket