Skip to content

T_CommandLine_BadFormatConversionError

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

BadFormatConversionError Class

Models an error generated when a value conversion fails.

Inheritance Hierarchy

System.Object
CommandLine.Error
CommandLine.NamedError
CommandLine.BadFormatConversionError
Namespace:CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

publicsealedclassBadFormatConversionError:NamedError

VB

PublicNotInheritableClassBadFormatConversionErrorInheritsNamedError

C++

public ref classBadFormatConversionError sealed : public NamedError

F#

[<SealedAttribute>]typeBadFormatConversionError=classinherit NamedError end

The BadFormatConversionError type exposes the following members.

Constructors

NameDescription
Protected methodBadFormatConversionError Initializes a new instance of the BadFormatConversionError class
Back to Top

Properties

NameDescription
Public propertyNameInfo Name information relative to this error instance. (Inherited from NamedError.)
Public propertyStopsProcessing Tells if error stops parsing process. Filtered by OnlyMeaningfulOnes(IEnumerable(Error)). (Inherited from Error.)
Public propertyTag Error type discriminator, defined as ErrorType enumeration. (Inherited from Error.)
Back to Top

Methods

NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from NamedError.)
Public methodEquals(Error) Returns a value that indicates whether the current instance and a specified Error have the same value. (Inherited from Error.)
Public methodEquals(NamedError) Returns a value that indicates whether the current instance and a specified NamedError have the same value. (Inherited from NamedError.)
Protected methodFinalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from NamedError.)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodToString Returns a string that represents the current object. (Inherited from Object.)
Back to Top

Extension Methods

NameDescription
Private Extension MethodIsEmpty (Defined by UnParserExtensions.)
Private Extension MethodNormalizeValue (Defined by UnParserExtensions.)
Back to Top

See Also

Reference

CommandLine Namespace

Clone this wiki locally