PageBase.Partial 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.
Overloads
| Partial(String) | 
						 Creates a PartialViewResult by specifying the name of a partial to render.  | 
        	
| Partial(String, Object) | 
						 Creates a PartialViewResult by specifying the name of a partial to render and the model object.  | 
        	
Partial(String)
- Source:
 - PageBase.cs
 
- Source:
 - PageBase.cs
 
Creates a PartialViewResult by specifying the name of a partial to render.
public:
 virtual Microsoft::AspNetCore::Mvc::PartialViewResult ^ Partial(System::String ^ viewName);
	public virtual Microsoft.AspNetCore.Mvc.PartialViewResult Partial(string viewName);
	abstract member Partial : string -> Microsoft.AspNetCore.Mvc.PartialViewResult
override this.Partial : string -> Microsoft.AspNetCore.Mvc.PartialViewResult
	Public Overridable Function Partial (viewName As String) As PartialViewResult
	Parameters
- viewName
 - String
 
The partial name.
Returns
The created PartialViewResult object for the response.
Applies to
Partial(String, Object)
- Source:
 - PageBase.cs
 
- Source:
 - PageBase.cs
 
Creates a PartialViewResult by specifying the name of a partial to render and the model object.
public:
 virtual Microsoft::AspNetCore::Mvc::PartialViewResult ^ Partial(System::String ^ viewName, System::Object ^ model);
	public virtual Microsoft.AspNetCore.Mvc.PartialViewResult Partial(string viewName, object? model);
	public virtual Microsoft.AspNetCore.Mvc.PartialViewResult Partial(string viewName, object model);
	abstract member Partial : string * obj -> Microsoft.AspNetCore.Mvc.PartialViewResult
override this.Partial : string * obj -> Microsoft.AspNetCore.Mvc.PartialViewResult
	Public Overridable Function Partial (viewName As String, model As Object) As PartialViewResult
	Parameters
- viewName
 - String
 
The partial name.
- model
 - Object
 
The model to be passed into the partial.
Returns
The created PartialViewResult object for the response.