StringOption Class

This defines a string option

Definition

Namespace: Sandcastle.Core.CommandLine
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.2.18.0
public class StringOption : BaseOption
Inheritance
Object    BaseOption    StringOption
Derived

Remarks

A string option is one that has a name/value pair separated by a colon

Constructors

Properties

Description This read-only property returns the option description
(Inherited from BaseOption)
IsPresent This read-only property is used to determine whether or not the option value was present on the command line.
(Inherited from BaseOption)
Name This read-only property returns the option name
(Inherited from BaseOption)
RequiredMessage This is used to get or set a message to display if the option is missing
(Inherited from BaseOption)
Template This is used to specify the template used when showing the command line syntax
Value This property is used to get or set the option value
(Inherited from BaseOption)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also