Skip to content

M_CommandLine_Core_SpecificationPropertyExtensions_WithSpecification

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

SpecificationPropertyExtensions.WithSpecification Method

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

Syntax

C#

public static SpecificationProperty WithSpecification(
	this SpecificationProperty specProp,
	Specification newSpecification
)

VB

<ExtensionAttribute>
Public Shared Function WithSpecification ( 
	specProp As SpecificationProperty,
	newSpecification As Specification
) As SpecificationProperty

C++

public:
[ExtensionAttribute]
static SpecificationProperty^ WithSpecification(
	SpecificationProperty^ specProp, 
	Specification^ newSpecification
)

F#

[<ExtensionAttribute>]
static member WithSpecification : 
        specProp : SpecificationProperty * 
        newSpecification : Specification -> SpecificationProperty 

Parameters

 

specProp
Type: CommandLine.Core.SpecificationProperty
newSpecification
Type: CommandLine.Core.Specification

Return Value

Type: SpecificationProperty

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SpecificationProperty. 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

SpecificationPropertyExtensions Class
CommandLine.Core Namespace

Clone this wiki locally