PropertyDescriptor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public ref class PropertyDescriptor : System::CommandLine::Binding::IValueDescriptor
public class PropertyDescriptor : System.CommandLine.Binding.IValueDescriptor
type PropertyDescriptor = class
interface IValueDescriptor
Public Class PropertyDescriptor
Implements IValueDescriptor
- Inheritance
-
PropertyDescriptor
- Implements
Properties
| Name | Description |
|---|---|
| HasDefaultValue |
Gets a value determining whether there is a default value. |
| Parent |
The model descriptor that the target property belongs to. |
| ValueName |
The name of the value. |
| ValueType |
The type of the value. |
Methods
| Name | Description |
|---|---|
| GetDefaultValue() |
Gets the default value, if any. |
| SetValue(Object, Object) |
Sets a value on the target property. |
| ToString() |
Returns a string that represents the current object. |
Extension Methods
| Name | Description |
|---|---|
| BuildAlias(IValueDescriptor) | |