Language

PropertyDescriptor Class

Definition

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)

Applies to