Megosztás a következőn keresztül:


ChunkHelper.ReplaceTModel(String, String) Method

Definition

Returns a string with the <TModel> token replaced with the value specified in modelName.

public:
 static System::String ^ ReplaceTModel(System::String ^ value, System::String ^ modelName);
public static string ReplaceTModel (string value, string modelName);
static member ReplaceTModel : string * string -> string
Public Shared Function ReplaceTModel (value As String, modelName As String) As String

Parameters

value
String

The string to replace the token in.

modelName
String

The model name to replace with.

Returns

A string with the token replaced.

Applies to