_Application3.GetSolutionURI(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.
Gets the Uniform Resource Locator (URL) or universal naming convention (UNC) location of a form template from the local cache ID.
public:
System::String ^ GetSolutionURI(System::String ^ bstrCacheID);
public string GetSolutionURI (string bstrCacheID);
abstract member GetSolutionURI : string -> string
Public Function GetSolutionURI (bstrCacheID As String) As String
Parameters
- bstrCacheID
- String
A string that identifies the form template in the local InfoPath form cache.
Returns
The URL or UNC for the published location of the form template.
Examples
In the following example, a cache ID value is passed to the GetSolutionURI method to display the published location of the form template.
Microsoft.Office.Interop.InfoPath.Application app =
new Microsoft.Office.Interop.InfoPath.ApplicationClass();
MessageBox.Show(app.GetFormSolutionURI(
"37d5ef02fa44a797$"));
Dim app As New Microsoft.Office.Interop.InfoPath.ApplicationClass
MessageBox.Show(app.GetFormSolutionURI( _
"37d5ef02fa44a797$"))
In the following example, a cache ID value is passed to the GetSolutionURI method to display the published location of the form template.
Microsoft.Office.Interop.InfoPath.Application app =
new Microsoft.Office.Interop.InfoPath.ApplicationClass();
MessageBox.Show(app.GetFormSolutionURI(
"37d5ef02fa44a797$"));
Dim app As New Microsoft.Office.Interop.InfoPath.ApplicationClass
MessageBox.Show(app.GetFormSolutionURI( _
"37d5ef02fa44a797$"))
Remarks
The value to pass as the bstCacheID
parameter can be identified 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 name of the folder that contains the cached form template and the cache ID value.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기