Delen via


PartialExtensions Class

Represents the functionality to render a partial view as an HTML-encoded string.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.Html.PartialExtensions

Namespace:  System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class PartialExtensions
public static class PartialExtensions
[ExtensionAttribute]
public ref class PartialExtensions abstract sealed

Methods

  Name Description
Public methodStatic member Partial(HtmlHelper, String) Renders the specified partial view as an HTML-encoded string.
Public methodStatic member Partial(HtmlHelper, String, Object) Renders the specified partial view as an HTML-encoded string.
Public methodStatic member Partial(HtmlHelper, String, ViewDataDictionary) Renders the specified partial view as an HTML-encoded string.
Public methodStatic member Partial(HtmlHelper, String, Object, ViewDataDictionary) Renders the specified partial view as an HTML-encoded string.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc.Html Namespace