HtmlHelper.Raw Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Raw(String) |
Wraps HTML markup in an HtmlString, without HTML-encoding the specified
|
Raw(Object) |
Wraps HTML markup from the string representation of an Object in an HtmlString, without HTML-encoding the string representation. |
Raw(String)
- Source:
- HtmlHelper.cs
- Source:
- HtmlHelper.cs
- Source:
- HtmlHelper.cs
Wraps HTML markup in an HtmlString, without HTML-encoding the specified
value
.
public:
virtual Microsoft::AspNetCore::Html::IHtmlContent ^ Raw(System::String ^ value);
public Microsoft.AspNetCore.Html.IHtmlContent Raw (string value);
abstract member Raw : string -> Microsoft.AspNetCore.Html.IHtmlContent
override this.Raw : string -> Microsoft.AspNetCore.Html.IHtmlContent
Public Function Raw (value As String) As IHtmlContent
Parameters
Returns
A new IHtmlContent containing the wrapped String.
Implements
Applies to
Raw(Object)
- Source:
- HtmlHelper.cs
- Source:
- HtmlHelper.cs
- Source:
- HtmlHelper.cs
Wraps HTML markup from the string representation of an Object in an HtmlString, without HTML-encoding the string representation.
public:
virtual Microsoft::AspNetCore::Html::IHtmlContent ^ Raw(System::Object ^ value);
public Microsoft.AspNetCore.Html.IHtmlContent Raw (object value);
abstract member Raw : obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.Raw : obj -> Microsoft.AspNetCore.Html.IHtmlContent
Public Function Raw (value As Object) As IHtmlContent
Parameters
Returns
IHtmlContent containing the wrapped string representation.