UrlResolutionTagHelper.TryResolveUrl 메서드

정의

오버로드

TryResolveUrl(String, IHtmlContent)

애플리케이션의 'webroot' 설정을 기준으로 지정된 url 값을 resolve 시도합니다.

TryResolveUrl(String, String)

애플리케이션의 'webroot' 설정을 기준으로 지정된 url 값을 resolve 시도합니다.

TryResolveUrl(String, IHtmlContent)

Source:
UrlResolutionTagHelper.cs
Source:
UrlResolutionTagHelper.cs

애플리케이션의 'webroot' 설정을 기준으로 지정된 url 값을 resolve 시도합니다.

protected:
 bool TryResolveUrl(System::String ^ url, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Html::IHtmlContent ^ % resolvedUrl);
protected bool TryResolveUrl (string url, out Microsoft.AspNetCore.Html.IHtmlContent resolvedUrl);
protected bool TryResolveUrl (string url, out Microsoft.AspNetCore.Html.IHtmlContent? resolvedUrl);
member this.TryResolveUrl : string * IHtmlContent -> bool
Protected Function TryResolveUrl (url As String, ByRef resolvedUrl As IHtmlContent) As Boolean

매개 변수

url
String

resolve URL입니다.

resolvedUrl
IHtmlContent

애플리케이션의 가상 루트로 시작하는 절대 URL입니다. null 를 확인할 수 없으면 url 입니다.

반환

trueurl 확인할 수 있으면 이고, 그렇지 않으면 입니다 false .

적용 대상

TryResolveUrl(String, String)

Source:
UrlResolutionTagHelper.cs
Source:
UrlResolutionTagHelper.cs

애플리케이션의 'webroot' 설정을 기준으로 지정된 url 값을 resolve 시도합니다.

protected:
 bool TryResolveUrl(System::String ^ url, [Runtime::InteropServices::Out] System::String ^ % resolvedUrl);
protected bool TryResolveUrl (string url, out string resolvedUrl);
protected bool TryResolveUrl (string url, out string? resolvedUrl);
member this.TryResolveUrl : string * string -> bool
Protected Function TryResolveUrl (url As String, ByRef resolvedUrl As String) As Boolean

매개 변수

url
String

resolve URL입니다.

resolvedUrl
String

애플리케이션의 가상 루트로 시작하는 절대 URL입니다. null 를 확인할 수 없으면 url 입니다.

반환

trueurl 확인할 수 있으면 이고, 그렇지 않으면 입니다 false .

적용 대상