Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2006, 04:59 AM
Registered User
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regions in the VC . NET code

hello friends,


 i am new to the .NET.. I want toknow that how would i define the regoins in the VC. NET code.

Thanks in advance.
Sumit

 
Old September 12th, 2006, 06:13 PM
Authorized User
 
Join Date: Feb 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

C++/CLI:
#pragma region foo

C#:
#region foo



 
Old September 12th, 2006, 06:45 PM
Authorized User
 
Join Date: Feb 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

And of course, to end the region:
C++/CLI:
#pragma endregion

C#:
#endregion







Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use interface in VC++.NET smartravi Visual C++ 0 February 28th, 2006 10:01 AM
VC++ .NET mindyjeanne Visual C++ 1 August 22nd, 2005 02:22 PM
Porting simple code from Borland to VC++ david_2138 Visual C++ 1 December 18th, 2004 08:43 PM
Internet Explorer from VC#.NET code sachin-csharp C# 2005 1 September 18th, 2004 01:29 AM
DLL in VC#.NET sachin-csharp .NET Framework 2.0 1 August 23rd, 2004 11:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.