SessionStoreCache.CacheSessionStore 方法

使用指定的金鑰字串來快取存放區。

命名空間:  Microsoft.VisualStudio.TextTemplating.Modeling
組件:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0 (在 Microsoft.VisualStudio.TextTemplating.Modeling.10.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
    型別:System.String
    識別這個存放區的金鑰。此金鑰不得已在使用中。

.NET Framework 安全性

請參閱

參考

SessionStoreCache 類別

Microsoft.VisualStudio.TextTemplating.Modeling 命名空間