SqlCeFunctions.Replicate(String, Nullable<Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Repeats a string value a specified number of times.
[System.Data.Entity.DbFunction("SqlServerCe", "REPLICATE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="count")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="target")]
public static string Replicate (string target, Nullable<int> count);
static member Replicate : string * Nullable<int> -> string
Public Shared Function Replicate (target As String, count As Nullable(Of Integer)) As String
Parameters
- target
- String
A valid string.
Returns
The target string, repeated the number of times specified by count .
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework