Skip to content

M_CommandLine_Infrastructure_StringExtensions_Spaces

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

StringExtensions.Spaces Method

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

Syntax

C#

public static string Spaces(
	this int value
)

VB

<ExtensionAttribute>
Public Shared Function Spaces ( 
	value As Integer
) As String

C++

public:
[ExtensionAttribute]
static String^ Spaces(
	int value
)

F#

[<ExtensionAttribute>]
static member Spaces : 
        value : int -> string 

Parameters

 

value
Type: System.Int32

Return Value

Type: String

Usage Note

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

StringExtensions Class
CommandLine.Infrastructure Namespace

Clone this wiki locally