|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 814723 - Last Review: May 11, 2007 - Revision: 1.4 Incorrect help topics for CodeModel.AddFunction and CodeModel.AddVariable in Visual Studio .NETIn the Microsoft Visual Studio
.NET Documentation, the help topics for the following methods describe these methods incorrectly: - CodeModel.AddFunction
- CodeModel.AddVariable
For more information, visit the following Microsoft Web
sites: - The CodeModel.AddFunction signature is incorrectly documented as the following:
Visual Basic .NETPublic Function AddFunction( _
Name As String, _
Kind As vsCMFunction, _
Type As Variant, _
Position As Variant, _
Optional Access As vsCMAccess = vsCMAccessDefault, _
Optional Location As Variant _
) As CodeFunction Visual C# .NETCodeFunction AddFunction(
string Name,
vsCMFunction Kind,
object Type,
object Position,
vsCMAccess Access,
object Location
); The signature should read as follows:
Visual Basic .NETPublic Function AddFunction( _
Name As String, _
Location As Variant, _
Kind As vsCMFunction, _
Type As Variant, _
Position As Variant, _
Optional Access As vsCMAccess = vsCMAccessDefault _
) As CodeFunction Visual C# .NETCodeFunction AddFunction(
string Name,
object Location,
vsCMFunction Kind,
object Type,
object Position,
vsCMAccess Access
); - The CodeModel.AddVariable signature is incorrectly documented as the following:
Visual Basic .NETPublic Function AddVariable( _
Name As String, _
Type As Variant, _
Position As Variant, _
Optional Access As vsCMAccess = vsCMAccessDefault, _
Optional Location As Variant _
) As CodeVariable Visual C# .NETCodeVariable AddVariable(
string Name,
object Type,
object Position,
vsCMAccess Access,
object Location
); The signature should read as follows:
Visual Basic .NETPublic Function AddVariable( _
Name As String, _
Location As Variant, _
Type As Variant, _
Position As Variant, _
Optional Access As vsCMAccess = vsCMAccessDefault _
) As CodeVariable Visual C# .NETCodeVariable AddVariable(
string Name,
object Location,
object Type,
object Position,
vsCMAccess Access
); Note The Location parameter in both the methods is not optional; it is
mandatory. For more information, visit the following Microsoft Web
site:
APPLIES TO- MSDN 2003 Universal Edition
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
- Microsoft Visual Basic .NET 2003 Standard Edition
- Microsoft Visual Basic .NET 2002 Standard Edition
- Microsoft Visual C# .NET 2003 Standard Edition
- Microsoft Visual C# .NET 2002 Standard Edition
| kbvs2005swept kbvs2005doesnotapply kbdocs kbhelp kbenv kbautomation kbdocfix kbdocerr KB814723 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
 |
 |
 |
 |
 |
 |
 |
| |