Skip to content

P_CommandLine_OptionAttribute_Separator

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

OptionAttribute.Separator Property

When applying attribute to IEnumerable(T) target properties, it allows you to split an argument and consume its content as a sequence.

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

Syntax

C#

public char Separator { get; set; }

VB

Public Property Separator As Char
	Get
	Set

C++

public:
property wchar_t Separator {
	wchar_t get ();
	void set (wchar_t value);
}

F#

member Separator : char with get, set

Property Value

Type: Char

See Also

Reference

OptionAttribute Class
CommandLine Namespace

Clone this wiki locally