CodeConstructor.ChainedConstructorArgs Propriedade
Definição
Obtém a coleção de argumentos de construtor encadeados.Gets the collection of chained constructor arguments.
public:
property System::CodeDom::CodeExpressionCollection ^ ChainedConstructorArgs { System::CodeDom::CodeExpressionCollection ^ get(); };
public System.CodeDom.CodeExpressionCollection ChainedConstructorArgs { get; }
member this.ChainedConstructorArgs : System.CodeDom.CodeExpressionCollection
Public ReadOnly Property ChainedConstructorArgs As CodeExpressionCollection
Valor da propriedade
Um CodeExpressionCollection que contém os argumentos do Construtor encadeado.A CodeExpressionCollection that contains the chained constructor arguments.
Comentários
Quando o CodeConstructor sobrecarrega outro construtor do mesmo tipo, essa coleção contém argumentos a serem passados para o construtor de tipo sobrecarregado.When the CodeConstructor overloads another constructor of the same type, this collection contains any arguments to pass to the overloaded type constructor. Para chamar um construtor para o tipo atual sem argumentos, defina um CodeSnippetExpression contendo uma cadeia de caracteres vazia ("") para essa coleção.To call a constructor for the current type with no arguments, set a CodeSnippetExpression containing an empty string ("") to this collection.