←Select platform

CreateFromConfigurationsString Method

Summary

Creates an ObjectCache derived class from the configuration XML stored in a string.

Syntax
C#
VB
C++
public static ObjectCache CreateFromConfigurationsString( 
   string value, 
   IDictionary<string, string> additionalValues 
) 
Public Shared Function CreateFromConfigurationsString( 
   ByVal value As String, 
   ByVal additionalValues As IDictionary(Of String, String) 
) As ObjectCache 
public:  
   static ObjectCache^ CreateFromConfigurationsString( 
      String^ value, 
      IDictionary<String^, String^>^ additionalValues 
   ) 

Parameters

value

String containing configuration string.

additionalValues

Dictionary of key/item values containing optional values to use. additionalValues override any values with the same key found in value.

Return Value

The ObjectCache derived class created by this method if successful; Otherwise, null.

Remarks

Refer to ObjectCache.CreateFromConfigurations for more information and an example on loading and saving cache object configurations.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly