Share via


RazorPageBase.Href(String) Method

Definition

Returns a href for the given content path.

public:
 virtual System::String ^ Href(System::String ^ contentPath);
public virtual string Href (string contentPath);
abstract member Href : string -> string
override this.Href : string -> string
Public Overridable Function Href (contentPath As String) As String

Parameters

contentPath
String

The content path.

Returns

The href for the contentPath.

Applies to