Skip to content

M_CommandLine_Core_TypeDescriptorExtensions_WithNextValue

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

TypeDescriptorExtensions.WithNextValue Method

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

Syntax

C#

public static TypeDescriptor WithNextValue(
	this TypeDescriptor descriptor,
	Maybe<TypeDescriptor> nextValue
)

VB

<ExtensionAttribute>
Public Shared Function WithNextValue ( 
	descriptor As TypeDescriptor,
	nextValue As Maybe(Of TypeDescriptor)
) As TypeDescriptor

C++

public:
[ExtensionAttribute]
static TypeDescriptor WithNextValue(
	TypeDescriptor descriptor, 
	Maybe<TypeDescriptor>^ nextValue
)

F#

[<ExtensionAttribute>]
static member WithNextValue : 
        descriptor : TypeDescriptor * 
        nextValue : Maybe<TypeDescriptor> -> TypeDescriptor 

Parameters

 

descriptor
Type: CommandLine.Core.TypeDescriptor
nextValue
Type: CSharpx.Maybe(TypeDescriptor)

Return Value

Type: TypeDescriptor

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TypeDescriptor. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

TypeDescriptorExtensions Class
CommandLine.Core Namespace

Clone this wiki locally