用给定的键字符串缓存存储。
命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。