|
HtmlHelperPartial Method
|
Includes the template with the specified name.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax public TemplateWriter Partial(
string name,
Object model = null,
Type modelType = null
)
Public Function Partial (
name As String,
Optional model As Object = Nothing,
Optional modelType As Type = Nothing
) As TemplateWriter
public:
TemplateWriter^ Partial(
String^ name,
Object^ model = nullptr,
Type^ modelType = nullptr
)
member Partial :
name : string *
?model : Object *
?modelType : Type
(* Defaults:
let _model = defaultArg model null
let _modelType = defaultArg modelType null
*)
-> TemplateWriter
function Partial(name, model, modelType);
View SourceParameters
- name String
- The name of the template type in cache.
- model Object (Optional)
- The model or NULL if there is no model for the template.
- modelType Type (Optional)
Return Value
TemplateWriterThe template writer helper.
See Also