Share via


SessionStoreCache.CacheSessionStore Method

Cache a Store with a given key string.

Namespace:  Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)

Syntax

'Declaration
Public Shared Sub CacheSessionStore ( _
    storeKey As String, _
    store As Store _
)
public static void CacheSessionStore(
    string storeKey,
    Store store
)
public:
static void CacheSessionStore(
    String^ storeKey, 
    Store^ store
)
static member CacheSessionStore : 
        storeKey:string * 
        store:Store -> unit
public static function CacheSessionStore(
    storeKey : String, 
    store : Store
)

Parameters

  • storeKey
    Type: System.String

    The key identifying this Store. It must not be already in use.

.NET Framework Security

See Also

Reference

SessionStoreCache Class

Microsoft.VisualStudio.TextTemplating.Modeling Namespace