ReusableResourceStore<TResource>::Acquire Method ()

Visual Studio 2015
 

Acquires a cached instance of the resource, or allocates a new instance if none are currently available.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
ReusableResourceHolder<TResource> Acquire()

Return Value

Type: Microsoft.VisualStudio.Utilities::ReusableResourceHolder<TResource>

A disposable object that should be disposed when usage of the resource is complete.

Return to top
Show: