_Application3.CacheSolution(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Examines the form template in the cache and, if necessary, updates it from the published location of the form template.
public:
void CacheSolution(System::String ^ bstrSolutionURI);
public void CacheSolution (string bstrSolutionURI);
abstract member CacheSolution : string -> unit
Public Sub CacheSolution (bstrSolutionURI As String)
Parameters
- bstrSolutionURI
- String
Specifies the Uniform Resource Identifier (URI) of the form template. This parameter can be specified as a form definition (.xsf) file or a form template (.xsn) file.
Implements
Examples
private string[] _forms =
{
@"\\MyServer\MyForms\MyForm.xsn",
@"\\MyServer\MyForms\manifest.xsf"
};
private void someFunction()
{
…
CacheFormTemplate(_forms);
…
}
private void CacheFormTemplate(string[] forms)
{
foreach (string form in forms)
{
thisApplication.<span class="label">CacheSolution</span>(form);
}
}
private string[] _forms =
{
@"\\MyServer\MyForms\MyForm.xsn",
@"\\MyServer\MyForms\manifest.xsf"
};
private void someFunction()
{
…
CacheFormTemplate(_forms);
…
}
private void CacheFormTemplate(string[] forms)
{
foreach (string form in forms)
{
thisApplication.<span class="label">CacheSolution</span>(form);
}
}
Remarks
If the form template that currently exists in the cache matches the form template from the published location, no caching takes place. If the computer is offline and the form is already in the cache, the cache is kept and no update will occur.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기