ValidationContext::SetCacheValue<T> Method (String^, T)
Visual Studio 2015
Set the cached object associated with the name
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public: generic<typename T> where T : ref class, gcnew() void SetCacheValue( String^ name, T cacheObject )
Parameters
- name
-
Type:
System::String^
Name of the cache
- cacheObject
-
Type:
T
cached object to be associated with the given name
Type Parameters
- T
A class with a parameterless constructor
Show: