Share via


Solution2.CacheID Property

Gets the cache ID of a form template.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
ReadOnly Property CacheID As String
    Get
'Usage
Dim instance As Solution2
Dim value As String

value = instance.CacheID
string CacheID { get; }

Property Value

Type: System.String
The cache ID of a form template.

Remarks

The cache ID is the folder name from the following location in the file system:

%USERPROFILE%\Local Settings\Application Data\Microsoft\InfoPath\FormCache1\foldername\cacheID

Where foldername is a random name assigned in a user's form cache, and cacheID is the cache ID value.

Because the CacheID property is newin Microsoft InfoPath 2010, you must declare and cast to the Solution2 type to access it. For more information, see How to: Use Microsoft.Office.Interop.InfoPath.SemiTrust Members That Are Not Compatible with InfoPath 2003.

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See Also

Reference

Solution2 Interface

Solution2 Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace