.NET Framework Class Library  

CodeConstructor.ChainedConstructorArgs Property

Gets the collection of chained constructor arguments.

[Visual Basic]
Public ReadOnly Property ChainedConstructorArgs As _
   CodeExpressionCollection
[C#]
public CodeExpressionCollection ChainedConstructorArgs {get;}
[C++]
public: __property CodeExpressionCollection*
   get_ChainedConstructorArgs();
[JScript]
public function get ChainedConstructorArgs() :
   CodeExpressionCollection;

Property Value

A CodeExpressionCollection that contains the chained constructor arguments.

Remarks

When the CodeConstructor overloads another constructor of the same type, this collection contains any arguments to pass to the overloaded type constructor. To call a constructor for the current type with no arguments, set a CodeSnippetExpression containing an empty string ("") to this collection.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CodeConstructor Class | CodeConstructor Members | System.CodeDom Namespace | CodeExpressionCollection