'Declaration Public Overloads Sub Set(Of T)( _ ByVal key As System.String, _ ByVal value As T, _ Optional ByVal regionName As System.String _ )
'Usage Dim instance As BaseCacheProvider Dim key As System.String Dim value As T Dim regionName As System.String instance.Set(Of T)(key, value, regionName)
public void Set<T>( System.string key, T value, System.string regionName )
public: void Set<T>( System.string* key, T* value, System.string* regionName )
public: void Setgeneric<typename T> ( System.String^ key, T^ value, System.String^ regionName )
Parameters
- key
- A unique identifier for the cache entry.
- value
- The object to insert.
- regionName
- Optional. A named region in the cache to which the cache entry can be added. The default value for the optional parameter is Default
Type Parameters
- T