ITextDocument.SetEncoderFallback Method
Change the encoder fallback of Encoding.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Sub SetEncoderFallback ( _
fallback As EncoderFallback _
)
void SetEncoderFallback(
EncoderFallback fallback
)
void SetEncoderFallback(
EncoderFallback^ fallback
)
abstract SetEncoderFallback :
fallback:EncoderFallback -> unit
function SetEncoderFallback(
fallback : EncoderFallback
)
Parameters
fallback
Type: EncoderFallbackThe new encoder fallback
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.