TagHelperOutputExtensions.RemoveClass 메서드

정의

의 에서 지정된 classValuetagHelperOutput제거합니다 Attributes.

public:
[System::Runtime::CompilerServices::Extension]
 static void RemoveClass(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperOutput ^ tagHelperOutput, System::String ^ classValue, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public static void RemoveClass (this Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput tagHelperOutput, string classValue, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
static member RemoveClass : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput * string * System.Text.Encodings.Web.HtmlEncoder -> unit
<Extension()>
Public Sub RemoveClass (tagHelperOutput As TagHelperOutput, classValue As String, htmlEncoder As HtmlEncoder)

매개 변수

tagHelperOutput
TagHelperOutput

이 메서드는 TagHelperOutput 확장됩니다.

classValue
String

제거할 클래스 값입니다.

htmlEncoder
HtmlEncoder

현재 HTML 인코더입니다.

적용 대상