Redigera

Dela via


CodeConstructor.BaseConstructorArgs Property

Definition

Gets the collection of base constructor arguments.

public:
 property System::CodeDom::CodeExpressionCollection ^ BaseConstructorArgs { System::CodeDom::CodeExpressionCollection ^ get(); };
public System.CodeDom.CodeExpressionCollection BaseConstructorArgs { get; }
member this.BaseConstructorArgs : System.CodeDom.CodeExpressionCollection
Public ReadOnly Property BaseConstructorArgs As CodeExpressionCollection

Property Value

A CodeExpressionCollection that contains the base constructor arguments.

Remarks

When the CodeConstructor overloads a base class constructor, this collection contains any arguments to pass to a base class constructor. To call a base class constructor with no arguments, set a CodeSnippetExpression containing an empty string ("") to this collection.

Applies to

See also