ImageLibrary.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Load(JoinableTaskFactory, String, Boolean, Boolean, ITracer) |
Loads an ImageLibrary from a manifest |
Load(JoinableTaskFactory, String, Boolean, ITracer, IStreamStorage<String>) |
Loads an ImageLibrary from a manifest |
Load(JoinableTaskFactory, IEnumerable<String>, Boolean, ITracer, IStreamStorage<String>) |
Loads an ImageLibrary from a collection of manifests |
Load(JoinableTaskFactory, IEnumerable<String>, Boolean, Boolean, ITracer) |
Loads an ImageLibrary from a collection of manifests |
Load(IEnumerable<String>, Boolean, ITracer, IStreamStorage<String>) |
Loads an ImageLibrary from a collection of manifests. |
Load(JoinableTaskFactory, String, Boolean, ITracer) |
Loads an ImageLibrary from a manifest |
Load(JoinableTaskFactory, IEnumerable<String>, Boolean, ITracer) |
Loads an ImageLibrary from a collection of manifests |
Load(String, Boolean, ITracer, IStreamStorage<String>) |
Loads an ImageLibrary from a manifest. |
Load(JoinableTaskFactory, String, Boolean, Boolean, ITracer)
Loads an ImageLibrary from a manifest
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, string manifest, bool preloadResources, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default);
static member Load : Microsoft.VisualStudio.Threading.JoinableTaskFactory * string * bool * bool * Microsoft.VisualStudio.Utilities.ITracer -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (jtf As JoinableTaskFactory, manifest As String, preloadResources As Boolean, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing) As ImageLibrary
Parameters
The joinable task factory to use for threading operations
- manifest
- String
The manifest file to load
- preloadResources
- Boolean
Whether or not to preload image resources
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use
Returns
The loaded image library
Applies to
Load(JoinableTaskFactory, String, Boolean, ITracer, IStreamStorage<String>)
Loads an ImageLibrary from a manifest
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, string manifest, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default, Microsoft.VisualStudio.Utilities.IStreamStorage<string> cacheStorage = default);
static member Load : Microsoft.VisualStudio.Threading.JoinableTaskFactory * string * bool * Microsoft.VisualStudio.Utilities.ITracer * Microsoft.VisualStudio.Utilities.IStreamStorage<string> -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (jtf As JoinableTaskFactory, manifest As String, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing, Optional cacheStorage As IStreamStorage(Of String) = Nothing) As ImageLibrary
Parameters
The joinable task factory to use for threading operations
- manifest
- String
The manifest file to load
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use
- cacheStorage
- IStreamStorage<String>
The storage used by the ImageLibrary for caching.
Returns
The loaded image library
Applies to
Load(JoinableTaskFactory, IEnumerable<String>, Boolean, ITracer, IStreamStorage<String>)
Loads an ImageLibrary from a collection of manifests
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, System.Collections.Generic.IEnumerable<string> manifests, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default, Microsoft.VisualStudio.Utilities.IStreamStorage<string> cacheStorage = default);
static member Load : Microsoft.VisualStudio.Threading.JoinableTaskFactory * seq<string> * bool * Microsoft.VisualStudio.Utilities.ITracer * Microsoft.VisualStudio.Utilities.IStreamStorage<string> -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (jtf As JoinableTaskFactory, manifests As IEnumerable(Of String), Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing, Optional cacheStorage As IStreamStorage(Of String) = Nothing) As ImageLibrary
Parameters
The joinable task factory to use for threading operations
- manifests
- IEnumerable<String>
The manifest files to load
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use
- cacheStorage
- IStreamStorage<String>
The storage used by the ImageLibrary for caching.
Returns
The loaded image library
Applies to
Load(JoinableTaskFactory, IEnumerable<String>, Boolean, Boolean, ITracer)
Loads an ImageLibrary from a collection of manifests
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, System.Collections.Generic.IEnumerable<string> manifests, bool preloadResources, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default);
static member Load : Microsoft.VisualStudio.Threading.JoinableTaskFactory * seq<string> * bool * bool * Microsoft.VisualStudio.Utilities.ITracer -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (jtf As JoinableTaskFactory, manifests As IEnumerable(Of String), preloadResources As Boolean, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing) As ImageLibrary
Parameters
The joinable task factory to use for threading operations
- manifests
- IEnumerable<String>
The manifest files to load
- preloadResources
- Boolean
Whether or not to preload image resources
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use
Returns
The loaded image library
Applies to
Load(IEnumerable<String>, Boolean, ITracer, IStreamStorage<String>)
Loads an ImageLibrary from a collection of manifests.
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (System.Collections.Generic.IEnumerable<string> manifests, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default, Microsoft.VisualStudio.Utilities.IStreamStorage<string> cacheStorage = default);
static member Load : seq<string> * bool * Microsoft.VisualStudio.Utilities.ITracer * Microsoft.VisualStudio.Utilities.IStreamStorage<string> -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (manifests As IEnumerable(Of String), Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing, Optional cacheStorage As IStreamStorage(Of String) = Nothing) As ImageLibrary
Parameters
- manifests
- IEnumerable<String>
The manifest files to load
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use.
- cacheStorage
- IStreamStorage<String>
The storage used by the ImageLibrary for caching.
Returns
The loaded image library.
Applies to
Load(JoinableTaskFactory, String, Boolean, ITracer)
Loads an ImageLibrary from a manifest
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, string manifest, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default);
static member Load : Microsoft.VisualStudio.Threading.JoinableTaskFactory * string * bool * Microsoft.VisualStudio.Utilities.ITracer -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (jtf As JoinableTaskFactory, manifest As String, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing) As ImageLibrary
Parameters
The joinable task factory to use for threading operations
- manifest
- String
The manifest file to load
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use
Returns
The loaded image library
Applies to
Load(JoinableTaskFactory, IEnumerable<String>, Boolean, ITracer)
Loads an ImageLibrary from a collection of manifests
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, System.Collections.Generic.IEnumerable<string> manifests, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default);
static member Load : Microsoft.VisualStudio.Threading.JoinableTaskFactory * seq<string> * bool * Microsoft.VisualStudio.Utilities.ITracer -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (jtf As JoinableTaskFactory, manifests As IEnumerable(Of String), Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing) As ImageLibrary
Parameters
The joinable task factory to use for threading operations
- manifests
- IEnumerable<String>
The manifest files to load
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default
- tracer
- ITracer
The tracer to use
Returns
The loaded image library
Applies to
Load(String, Boolean, ITracer, IStreamStorage<String>)
Loads an ImageLibrary from a manifest.
public static Microsoft.VisualStudio.Imaging.ImageLibrary Load (string manifest, bool isDefault = false, Microsoft.VisualStudio.Utilities.ITracer tracer = default, Microsoft.VisualStudio.Utilities.IStreamStorage<string> cacheStorage = default);
static member Load : string * bool * Microsoft.VisualStudio.Utilities.ITracer * Microsoft.VisualStudio.Utilities.IStreamStorage<string> -> Microsoft.VisualStudio.Imaging.ImageLibrary
Public Shared Function Load (manifest As String, Optional isDefault As Boolean = false, Optional tracer As ITracer = Nothing, Optional cacheStorage As IStreamStorage(Of String) = Nothing) As ImageLibrary
Parameters
- manifest
- String
The manifest file to load.
- isDefault
- Boolean
Whether or not this ImageLibrary should be used as ImageLibrary.Default </
- tracer
- ITracer
The tracer to use
- cacheStorage
- IStreamStorage<String>
The storage used by the ImageLibrary for caching.
Returns
The loaded image library.