नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Returns the name of the application in which a document was created, based on the file name extension and ProgID.
<MapToText>
ProgID|File_Extension
</MapToText>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Numerous
Parent elements
Numerous
Occurrences
- Minimum: 0
- Maximum: Unbounded
Remarks
The MapToText element uses the following syntax, separating the ProgID from the file name extension with a pipe symbol ("|") in C# or with Or in Visual Basic:
<MapToText>ProgID|File_Extension </MapToText>
Example
The following example uses the MapToText element to assign the name of the application to an App variable.
<SetVar Name="App" Scope="Request">
<MapToText>
<Column Name="HTML_x0020_File_x0020_Type" />
<HTML>|</HTML>
<Column Name="File_x0020_Type" />
</MapToText>
</SetVar>