다음을 통해 공유


TextContentChangedEventArgs 생성자

TextContentChangedEventArgs의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.Text
어셈블리:  Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)

구문

‘선언
Public Sub New ( _
    beforeSnapshot As ITextSnapshot, _
    afterSnapshot As ITextSnapshot, _
    options As EditOptions, _
    editTag As Object _
)
public TextContentChangedEventArgs(
    ITextSnapshot beforeSnapshot,
    ITextSnapshot afterSnapshot,
    EditOptions options,
    Object editTag
)
public:
TextContentChangedEventArgs(
    ITextSnapshot^ beforeSnapshot, 
    ITextSnapshot^ afterSnapshot, 
    EditOptions options, 
    Object^ editTag
)
new : 
        beforeSnapshot:ITextSnapshot * 
        afterSnapshot:ITextSnapshot * 
        options:EditOptions * 
        editTag:Object -> TextContentChangedEventArgs
public function TextContentChangedEventArgs(
    beforeSnapshot : ITextSnapshot, 
    afterSnapshot : ITextSnapshot, 
    options : EditOptions, 
    editTag : Object
)

매개 변수

  • editTag
    형식: Object

    이 변경과 관련된 임의의 개체입니다.

예외

예외 조건
ArgumentNullException

beforeSnapshot, afterSnapshot 또는 options가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우

.NET Framework 보안

참고 항목

참조

TextContentChangedEventArgs 클래스

Microsoft.VisualStudio.Text 네임스페이스