Solution2.CacheID Property

Definition

Gets the cache ID of a form template.

public:
 property System::String ^ CacheID { System::String ^ get(); };
public string CacheID { get; }
member this.CacheID : string
Public ReadOnly Property CacheID As String

Property Value

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\<span class="placeholder">foldername</span>\<span class="placeholder">cacheID</span>

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, you must declare and cast to the Solution2 type to access it. For more information, see How to: Use Object Model 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.

Applies to