Επεξεργασία

Κοινή χρήση μέσω


WebFormsReferenceManager.GetUserControlPath(String, String) Method

Definition

Gets the relative URL path for the user control with the specified tag prefix and tag name.

public:
 abstract System::String ^ GetUserControlPath(System::String ^ tagPrefix, System::String ^ tagName);
public abstract string GetUserControlPath (string tagPrefix, string tagName);
abstract member GetUserControlPath : string * string -> string
Public MustOverride Function GetUserControlPath (tagPrefix As String, tagName As String) As String

Parameters

tagPrefix
String

The tag prefix of the user control to retrieve.

tagName
String

The tag name of the user control to retrieve.

Returns

A string representing the relative URL path for the specified user control, if found; otherwise, null.

Remarks

GetUserControlPath uses the tag prefix and name to locate the user control register directive in the current document, and returns the src attribute value defined in the register directive.

Applies to

See also