EntryPoint
Show / Hide Table of Contents

Class HelpAttribute

Used to provide additional information to display in the --help Option. May be applied to: Class: for a description of the utility Property: for a description of the option's usage Method: for a Command class's command methods

Inheritance
System.Object
System.Attribute
HelpAttribute
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
public class HelpAttribute : Attribute, _Attribute

Constructors

| Improve this Doc

HelpAttribute(String)

Additional information to display when --help is invoked

Declaration
public HelpAttribute(string Detail)
Parameters
Type Name Description
System.String Detail

A description of the utility/option's usage

Properties

| Improve this Doc

Detail

A description of the utility/option's usage

Declaration
public string Detail { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc