Skip to content

M_CommandLine_Infrastructure_StringBuilderExtensions_SafeToString

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

StringBuilderExtensions.SafeToString Method

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

Syntax

C#

public static string SafeToString(
	this StringBuilder builder
)

VB

<ExtensionAttribute>
Public Shared Function SafeToString ( 
	builder As StringBuilder
) As String

C++

public:
[ExtensionAttribute]
static String^ SafeToString(
	StringBuilder^ builder
)

F#

[<ExtensionAttribute>]
static member SafeToString : 
        builder : StringBuilder -> string 

Parameters

 

builder
Type: System.Text.StringBuilder

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 StringBuilder. 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

StringBuilderExtensions Class
CommandLine.Infrastructure Namespace

Clone this wiki locally