共用方式為


PreContentChangedEventArgs Constructor

Initializes a new instance of PreContentChangedEventArgs.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
Public Sub New ( _
    beforeSnapshot As ITextSnapshot, _
    changes As INormalizedTextChangeCollection _
)
public PreContentChangedEventArgs(
    ITextSnapshot beforeSnapshot,
    INormalizedTextChangeCollection changes
)
public:
PreContentChangedEventArgs(
    ITextSnapshot^ beforeSnapshot, 
    INormalizedTextChangeCollection^ changes
)
new : 
        beforeSnapshot:ITextSnapshot * 
        changes:INormalizedTextChangeCollection -> PreContentChangedEventArgs
public function PreContentChangedEventArgs(
    beforeSnapshot : ITextSnapshot, 
    changes : INormalizedTextChangeCollection
)

Parameters

.NET Framework Security

See Also

Reference

PreContentChangedEventArgs Class

Microsoft.VisualStudio.Text Namespace