Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebPageRenderingBase.Href Method

When overridden in a derived class, builds a URL using the specified parameters.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public virtual string Href(
	string path,
	params Object[] pathParts
)

Parameters

path
Type: System.String
The path to include in the URL.
pathParts
Type: System.Object[]
Additional path information.

Return Value

Type: System.String
A URL.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2015 Microsoft