IMergeElements.CanMerge 메서드
이 요소를 원본 요소를 추가할 수 있는지 여부를 나타냅니다.
네임스페이스: Microsoft.VisualStudio.Modeling
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
구문
‘선언
Function CanMerge ( _
rootElement As ProtoElementBase, _
elementGroupPrototype As ElementGroupPrototype _
) As Boolean
bool CanMerge(
ProtoElementBase rootElement,
ElementGroupPrototype elementGroupPrototype
)
매개 변수
- rootElement
형식: Microsoft.VisualStudio.Modeling.ProtoElementBase
루트 ProtoElement 원본 요소를 표시 합니다.
- elementGroupPrototype
형식: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
ElementGroupPrototype 포함 한 루트 ProtoElement.
반환 값
형식: System.Boolean
소스 요소의 표시 되는 경우 true를 ProtoElement ; 대상 요소를 추가할 수 있습니다 그렇지 않은 경우 false입니다.
설명
소스 요소의 지정 된 루트 표시 됩니다 ProtoElement.
경우는 rootElement 입니다 nullNull 참조(Visual Basic의 경우 Nothing)의 ElementGroupPrototype 포함 되지 않은 ProtoElements 해야 속성 값 및 코드 검사는 ElementGroupPrototype 컨텍스트 정보입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.