TagHelperContent.SetContent(String) 메서드

정의

콘텐츠를 설정합니다.

public:
 Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ SetContent(System::String ^ unencoded);
public Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent SetContent (string unencoded);
member this.SetContent : string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public Function SetContent (unencoded As String) As TagHelperContent

매개 변수

unencoded
String

String 콘텐츠를 대체하는 입니다. 값은 제공된 대로 인코딩되지 않은 것으로 가정하며 작성되기 전에 HTML로 인코딩됩니다.

반환

설정 작업이 완료된 후 이 instance 대한 참조입니다.

적용 대상