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