Skip to content

Repo sync for protected CLA branch #7799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/ide/template-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Project and item template parameters
description: Learn how to use template parameters to replace values in your template when the template is instantiated.
ms.custom: SEO-VS-2020
ms.date: 01/02/2018
ms.date: 03/18/2022
ms.topic: reference
helpviewer_keywords:
- Visual Studio templates, parameters
Expand Down Expand Up @@ -54,11 +54,11 @@ The following table lists the reserved template parameters that can be used by a
|projectname|The name provided by the user when the project was created.|
|registeredorganization|The registry key value from HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization.|
|rootnamespace|The root namespace of the current project followed by the subfolder of the current item, with slashes replaced by periods. This parameter applies only to item templates.|
|defaultnamespace|The root namespace of the current project. This parameter applies only to item templates.|
|defaultnamespace|The root namespace of the current project. This parameter applies only to item templates.|
|safeitemname|Same as `itemname` but with all unsafe characters and spaces replaced by underscore characters.|
|safeitemrootname|Same as `safeitemname`.|
|safeprojectname|The name provided by the user when the project was created but with all unsafe characters and spaces removed.|
|time|The current time in the format DD/MM/YYYY 00:00:00.|
|time|The current time in a format that's based on your user settings in Windows. One example of a time zone format is DD/MM/YYYY 00:00:00. |
|specifiedsolutionname|The name of the solution. When "create solution directory" is checked, `specifiedsolutionname` has the solution name. When "create solution directory" is not checked, `specifiedsolutionname` is blank.|
|userdomain|The current user domain.|
|username|The current user name.|
Expand Down