SqlCeFunctions.Replicate Method (String, Nullable<Int32>)

 

Repeats a string value a specified number of times.

Namespace:   System.Data.Entity.SqlServerCompact
Assembly:  EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)

[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "count")]
[DbFunctionAttribute("SqlServerCe", "REPLICATE")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "target")]
public static string Replicate(
	string target,
	Nullable<int> count
)

Parameters

target
Type: System.String

A valid string.

count
Type: System.Nullable<Int32>

The value that specifies how many time to repeat target .

Return Value

Type: System.String

The target string, repeated the number of times specified by count .