TrustedType Class

The TrustedType typedef (https://w3c.github.io/trusted-types/dist/spec/#typedefdef-trustedtype): a TrustedHtml, a TrustedScript or a TrustedScriptUrl. The trusted types are immutable wrappers around a string, created by the policies of a TrustedTypePolicyFactory.

public abstract class TrustedType

Methods

NameDescription
ToString()The stringification behavior: returns the associated data.

ToString()

TrustedTypes.cs

The stringification behavior: returns the associated data.

public override string ToString()

Returns

string