RE: How Do I use the C# Code Wizards?
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
- Date: Mon, 16 Jun 2008 08:28:01 GMT
Hello David,
From your description, you're looking for the "C# Code Wizard" feature inVisual Studio 2005 and 2008 IDE, correct?
Based on my research, the document page mentioned in the post is actually
about early version of Visual Studio, that is Visual Studio.NET (including
VS2002 and VS2003), and the following code wizards including the one talked
about in this issue are obsolete after VS2005:
" C# Method Wizard
" C# Property Wizard
" C# Field Wizard
" C# Indexer Wizard
For more information, you can visit what's New in Visual C# 2005.
So we cannot use the functionality any more in VS2005 and VS2008. But we
can use a new feature "Code Snippet" added in VS 2005, which allows us to
quickly reuse some common code snippets, and it contains code snippet on
class indexer. Visit the following references about code snippet function.
Here are some web articles introducing this:
#
http://www.dotnetjunkies.com/Article/C95AC204-DE44-4D4A-A2B7-1EB1BE14A8A1.dc
ik
# http://www.developer.com/net/vb/article.php/3505156
To insert an indexer into a class, we can click "Edit" -> "Intellisense" ->
"Insert Snippet", then in the floating snippet toolbar, we can select
"Visual C#"-> "indexer" to insert a template indexer into the source code.
And the keyboard shortcut of this command can be found in the menu item
right after the name of the command.
Hope this helps! And please let me know if you have any other concerns, or
need anything else. Improving the quality of our products and services is a
never ending process for Microsoft.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RGF2aWQgTW9ycmlz?= <dmmorris@xxxxxxxxxxxxxxxx>
Subject: How Do I use the C# Code Wizards?
Date: Fri, 13 Jun 2008 12:37:40 -0700
page:
I am trying to use the "Add Indexer" C# Class Wizards described on this
but
http://msdn.microsoft.com/en-us/library/aa288385(VS.71).aspx
I open the class view (control, w, c) but when I right click on a class
I don't see any of the class wizards. Am I looking at the right view? Itried
this in Visual Studio 2005 and 2008.
Thanks,
David Morris
.
- Prev by Date: RE: Team Menu functions work but Team Explorer Fails to Connect
- Next by Date: RE: TFS2008: Can we have shared workspaces?
- Previous by thread: RE: Team Menu functions work but Team Explorer Fails to Connect
- Next by thread: RE: How Do I use the C# Code Wizards?
- Index(es):
Relevant Pages
|