EncodingChangedEventArgs Constructor
Initializes a new instance of EncodingChangedEventArgs
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣言
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: System.Text.Encoding
The previous encoding.
- newEncoding
Type: System.Text.Encoding
The 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.