ElementOperations.MergeElementGroupPrototype 메서드

모델 요소를 지정 된 대상 ElementGroupPrototype 소스를 병합합니다.

네임스페이스:  Microsoft.VisualStudio.Modeling
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

구문

‘선언
Public Overridable Sub MergeElementGroupPrototype ( _
    targetElement As ModelElement, _
    elementGroupPrototype As ElementGroupPrototype _
)
public virtual void MergeElementGroupPrototype(
    ModelElement targetElement,
    ElementGroupPrototype elementGroupPrototype
)

매개 변수

설명

이 메서드는 다음을 수행 합니다. (1)는 Elementgroupprototype의 요소를 다시 구성, (2) 모든 Elementoperations에서 파생 된 클래스에서 사용자 지정 처리를 꽂습니다 기회를 제공 하는 Onelementsreconstituted를 호출, (3) 각 reconstituted 루트 요소에서 대상 루트 요소 자체를 연결 하는 기회를 제공 하기 위해 대상 요소의 MergeRelate 가상 메서드를 호출 하 고 (4) MergeConfigure 루트 요소 자체를 구성할 수 있는 기회를 제공 하는 Mergerelate를 호출 후 즉시 reconstituted 루트 요소는 가상 메서드를 호출 합니다.에 Elementoperations에서 파생 된 제공 하기 (5) 전화 OnMerged 클래스에서 사용자 지정 처리를 연결 수입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ElementOperations 클래스

Microsoft.VisualStudio.Modeling 네임스페이스