SessionStoreCache.CacheSessionStore 方法

用给定的键字符串缓存存储。

命名空间:  Microsoft.VisualStudio.TextTemplating.Modeling
程序集:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0(在 Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll 中)

语法

声明
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
)

参数

  • storeKey
    类型:String

    标识此存储的键。 它不能已被使用。

  • store
    类型:Store

    存储。

.NET Framework 安全性

请参阅

参考

SessionStoreCache 类

Microsoft.VisualStudio.TextTemplating.Modeling 命名空间