PageAdapter.TransformText(String) 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.
Transforms text for the target browser.
public:
virtual System::String ^ TransformText(System::String ^ text);
public virtual string TransformText (string text);
abstract member TransformText : string -> string
override this.TransformText : string -> string
Public Overridable Function TransformText (text As String) As String
Parameters
Returns
A String that contains the transformed text.
Remarks
The TransformText method can be used, for example, to transform tab characters (\t
) into line breaks (\n
).
The TransformText base method returns text
unchanged.
Notes to Inheritors
When you inherit from the PageAdapter class, you can override TransformText(String) if a particular markup has a construct with a different form from standard HTML. For example, if a browser requires a different identifier for a tag than what would be used in HTML, TransformText(String) method can be overridden to find that tag and change it.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기