Restrictions on String Lengths

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Restrictions on String Lengths.

The Source Control Plug-in API limits the lengths of strings used in various functions.

ConstantValue
SCC_NAME_LEN31
SCC_AUXLABEL_LEN31
SCC_USER_LEN31
SCC_PRJPATH_LEN300
System_CAPS_ICON_note.jpg Note

Length does not include the terminating null. Other constants with a "_SIZE" suffix instead of "_LEN" do include space for the terminating null.

ConstantValue
SCC_NAME_SIZE32
SCC_AUXLABEL_SIZE32
SCC_USER_SIZE32
SCC_PRJPATH_SIZE301

Source Control Plug-ins

Show: