共用方式為


/MAPINFO (Include Information in Mapfile)

 

The latest version of this topic can be found at -MAPINFO (Include Information in Mapfile).

MAPINFO:EXPORTS

  
## Remarks  
 The /MAPINFO option tells the linker to include the specified information in a mapfile, which is created if you specify the [/MAP](../Topic/-MAP%20\(Generate%20Mapfile\).md) option.  EXPORTS tells the linker to include exported functions.  
  
### To set this linker option in the Visual Studio development environment  
  
1.  Open the project's **Property Pages** dialog box. For details, see [Setting Visual C++ Project Properties](../Topic/Working%20with%20Project%20Properties.md).  
  
2.  Click the **Linker** folder.  
  
3.  Click the **Debug** property page.  
  
4.  Modify of the **Map Exports** properties:  
  
### To set this linker option programmatically  
  
-  See [MapExports](assetId:///P:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.MapExports?qualifyHint=False&autoUpgrade=True).  
  
## See Also  
 [Setting Linker Options](../Topic/Setting%20Linker%20Options.md)   
 [Linker Options](../Topic/Linker%20Options.md)