  | ViewModelTemplateTViewModelRenderModelT Method  | 
  
    Namespace: 
   Dynamicweb.Rendering
    Assembly:
   Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntaxpublic string RenderModel<T>(
	T model
)
where T : ViewModelBase, IViewModelTemplatePath
Public Function RenderModel(Of T As {ViewModelBase, IViewModelTemplatePath}) ( 
	model As T
) As StringParameters
- model
 - Type: T
 
Type Parameters
- T
 - View model which implements ViewModelBase and IViewModelTemplatePath.
 
Return Value
Type: 
StringA string with the rendered output of the given model and the template associated with that model.
See Also