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
識別這個存放區的金鑰。此金鑰不得已在使用中。
- store
型別:Microsoft.VisualStudio.Modeling.Store
存放區。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。