共用方式為


ImageLibrary.Deserialize 方法

定義

多載

Deserialize(JoinableTaskFactory, Stream, Boolean, ITracer)

從還原串行化映像庫 stream

Deserialize(Stream, Boolean, ITracer, IStreamStorage<String>)

stream還原串行化映像庫。

Deserialize(JoinableTaskFactory, Stream, Boolean, ITracer, IStreamStorage<String>)

從還原串行化映像庫 stream

Deserialize(JoinableTaskFactory, Stream, Boolean, ITracer)

從還原串行化映像庫 stream

public static Microsoft.VisualStudio.Imaging.ImageLibrary Deserialize (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, System.IO.Stream stream, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default);
static member Deserialize : Microsoft.VisualStudio.Threading.JoinableTaskFactory * System.IO.Stream * bool * Microsoft.VisualStudio.Utilities.ITracer -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Deserialize (jtf As JoinableTaskFactory, stream As Stream, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing) As ImageLibrary

參數

jtf
JoinableTaskFactory

用於線程作業的可聯結工作處理站

stream
Stream

要從中還原串行化的數據流

isDefault
Boolean

是否應該將此 ImageLibrary 作為 ImageLibrary.Default

tracer
ITracer

要使用的追蹤

傳回

適用於

Deserialize(Stream, Boolean, ITracer, IStreamStorage<String>)

stream還原串行化映像庫。

public static Microsoft.VisualStudio.Imaging.ImageLibrary Deserialize (System.IO.Stream stream, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default, Microsoft.VisualStudio.Utilities.IStreamStorage<string> cacheStorage = default);
static member Deserialize : System.IO.Stream * bool * Microsoft.VisualStudio.Utilities.ITracer * Microsoft.VisualStudio.Utilities.IStreamStorage<string> -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Deserialize (stream As Stream, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing, Optional cacheStorage As IStreamStorage(Of String) = Nothing) As ImageLibrary

參數

stream
Stream

要從中還原串行化的數據流

isDefault
Boolean

是否應該將此 ImageLibrary 作為 ImageLibrary.Default

tracer
ITracer

要使用的追蹤

cacheStorage
IStreamStorage<String>

ImageLibrary 用於快取的記憶體。

傳回

傳回 ImageLibrary

適用於

Deserialize(JoinableTaskFactory, Stream, Boolean, ITracer, IStreamStorage<String>)

從還原串行化映像庫 stream

public static Microsoft.VisualStudio.Imaging.ImageLibrary Deserialize (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, System.IO.Stream stream, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default, Microsoft.VisualStudio.Utilities.IStreamStorage<string> cacheStorage = default);
static member Deserialize : Microsoft.VisualStudio.Threading.JoinableTaskFactory * System.IO.Stream * bool * Microsoft.VisualStudio.Utilities.ITracer * Microsoft.VisualStudio.Utilities.IStreamStorage<string> -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Deserialize (jtf As JoinableTaskFactory, stream As Stream, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing, Optional cacheStorage As IStreamStorage(Of String) = Nothing) As ImageLibrary

參數

jtf
JoinableTaskFactory

用於線程作業的可聯結工作處理站

stream
Stream

要從中還原串行化的數據流

isDefault
Boolean

是否應該將此 ImageLibrary 作為 ImageLibrary.Default

tracer
ITracer

要使用的追蹤

cacheStorage
IStreamStorage<String>

ImageLibrary 用於快取的記憶體。

傳回

適用於