EncodingChangedEventArgs Constructor
Initializes a new instance of EncodingChangedEventArgs
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Sub New ( _
oldEncoding As Encoding, _
newEncoding As Encoding _
)
public EncodingChangedEventArgs(
Encoding oldEncoding,
Encoding newEncoding
)
public:
EncodingChangedEventArgs(
Encoding^ oldEncoding,
Encoding^ newEncoding
)
new :
oldEncoding:Encoding *
newEncoding:Encoding -> EncodingChangedEventArgs
public function EncodingChangedEventArgs(
oldEncoding : Encoding,
newEncoding : Encoding
)
Parameters
oldEncoding
Type: EncodingThe previous encoding.
newEncoding
Type: EncodingThe new encoding.
.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.