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.StringThe key identifying this Store. It must not be already in use.
store
Type: Microsoft.VisualStudio.Modeling.StoreA Store.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.