ValidationContext::SetCacheValue<T> Method (String^, T)

 

Set the cached object associated with the name

Namespace:   Microsoft.VisualStudio.Modeling.Validation
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

Return to top
Show: