Share via


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: Encoding

    The previous encoding.

  • newEncoding
    Type: Encoding

    The new encoding.

.NET Framework Security

See Also

Reference

EncodingChangedEventArgs Class

Microsoft.VisualStudio.Text Namespace