ConstructorArgumentAttribute Class
Definition
Indicates that a property corresponds to a named parameter in the constructor.
public class ConstructorArgumentAttribute
Remarks
This attribute is used for XAML.
Constructors
| Name | Description |
|---|---|
| ConstructorArgumentAttribute | Indicates that a property corresponds to a named parameter in the constructor. |
ConstructorArgumentAttribute Constructor
Indicates that a property corresponds to a named parameter in the constructor.
public ConstructorArgumentAttribute(string name)
Parameters
name string
The name of the parameter in the constructor.
Remarks
This attribute is used for XAML.
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the parameter in the constructor. |
Name Property
Gets the name of the parameter in the constructor.
public string Name { get; set; }