FactoryCacheFlags Enumeration

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at FactoryCacheFlags Enumeration.

Determines whether factory objects are cached.

enum FactoryCacheFlags;  

By default, the factory caching policy is specified as the ModuleType template parameter when you create a Module object. To override this policy, specify a FactoryCacheFlags value when you create a factory object.

FactoryCacheDefaultThe caching policy of the Module object is used.
FactoryCacheEnabledEnables factory caching regardless of the ModuleType template parameter that is used to create a Module object.
FactoryCacheDisabledDisables factory caching regardless of the ModuleType template parameter that is used to create a Module object.

Header: implements.h

Namespace: Microsoft::WRL

Microsoft::WRL Namespace

Show: