Skip to content

M_CommandLine_Core_ValueSpecification_FromAttribute

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

ValueSpecification.FromAttribute Method

Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static ValueSpecification FromAttribute(
	ValueAttribute attribute,
	Type conversionType,
	IEnumerable<string> enumValues
)

VB

Public Shared Function FromAttribute ( 
	attribute As ValueAttribute,
	conversionType As Type,
	enumValues As IEnumerable(Of String)
) As ValueSpecification

C++

public:
static ValueSpecification^ FromAttribute(
	ValueAttribute^ attribute, 
	Type^ conversionType, 
	IEnumerable<String^>^ enumValues
)

F#

static member FromAttribute : 
        attribute : ValueAttribute * 
        conversionType : Type * 
        enumValues : IEnumerable<string> -> ValueSpecification 

Parameters

 

attribute
Type: CommandLine.ValueAttribute
conversionType
Type: System.Type
enumValues
Type: System.Collections.Generic.IEnumerable(String)

Return Value

Type: ValueSpecification

See Also

Reference

ValueSpecification Class
CommandLine.Core Namespace

Clone this wiki locally