UndoEngine.CreateUndoUnit(String, Boolean) 메서드

정의

UndoEngine.UndoUnit를 만듭니다.

protected:
 virtual System::ComponentModel::Design::UndoEngine::UndoUnit ^ CreateUndoUnit(System::String ^ name, bool primary);
protected virtual System.ComponentModel.Design.UndoEngine.UndoUnit CreateUndoUnit(string name, bool primary);
abstract member CreateUndoUnit : string * bool -> System.ComponentModel.Design.UndoEngine.UndoUnit
override this.CreateUndoUnit : string * bool -> System.ComponentModel.Design.UndoEngine.UndoUnit
Protected Overridable Function CreateUndoUnit (name As String, primary As Boolean) As UndoEngine.UndoUnit

매개 변수

name
String

만들 단위의 이름입니다.

primary
Boolean

true 중첩된 일련의 첫 번째 단위를 만들려면 입니다. false 을 클릭하여 다음 중첩 단위를 만듭니다.

반품

지정된 이름의 새 UndoEngine.UndoUnit 이름입니다.

설명

메서드의 CreateUndoUnit 기본 구현은 새 메서드를 반환합니다 UndoEngine.UndoUnit.

기본적으로 UndoEngineprimary 매개 변수에서는 아무 작업도 수행하지 않지만 COM Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit 디자인 패턴과 관련된 실행 취소의 일부 구현은 기본 단위와 해당 자식 간의 차이를 식별해야 할 수 있습니다.

적용 대상