Partager via


Truncation.Truncate Méthode

Définition

Surcharges

Truncate(String)
Truncate(Object, Int32)
Truncate(String, Int32)

Truncate(String)

public:
 static System::String ^ Truncate(System::String ^ s);
public static string Truncate (string s);
static member Truncate : string -> string
Public Shared Function Truncate (s As String) As String

Paramètres

s
String

Retours

S’applique à

Truncate(Object, Int32)

public:
 static System::String ^ Truncate(System::Object ^ o, int length);
public static string Truncate (object o, int length);
static member Truncate : obj * int -> string
Public Shared Function Truncate (o As Object, length As Integer) As String

Paramètres

o
Object
length
Int32

Retours

S’applique à

Truncate(String, Int32)

public:
 static System::String ^ Truncate(System::String ^ s, int length);
public static string Truncate (string s, int length);
static member Truncate : string * int -> string
Public Shared Function Truncate (s As String, length As Integer) As String

Paramètres

s
String
length
Int32

Retours

S’applique à