←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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.