9

我非常想念它(在 C# 中经常使用它)。你能用 C++ 做吗?

4

3 回答 3

18

是的你可以。见这里

#pragma region Region_Name
//Your content.
#pragma endregion Region_Name
于 2008-09-29T08:34:24.727 回答
1

用于 VC 的 Visual Assist 加载项支持 C++ 区域。不知道 2008 年是否已经为 C++ 构建了区域。

于 2008-09-29T10:24:10.063 回答
1

对于 VBers:

#Region "identifier_string" 
' Your content
#End Region

https://msdn.microsoft.com/en-us/library/sd032a17.aspx

于 2015-05-22T14:11:28.283 回答