Store.GetClosurePrototypeGroup 메서드 (ICollection<ModelElement>, ClosureType)
루트 요소를 지정 하면 요소 그룹 프로토타입에 클로저를 지정 된 형식에 기본 파티션으로 만듭니다.
네임스페이스: Microsoft.VisualStudio.Modeling
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
구문
‘선언
Public Function GetClosurePrototypeGroup ( _
rootElements As ICollection(Of ModelElement), _
type As ClosureType _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
ICollection<ModelElement> rootElements,
ClosureType type
)
매개 변수
- rootElements
형식: System.Collections.Generic.ICollection<ModelElement>
루트 요소의 컬렉션입니다.
- type
형식: Microsoft.VisualStudio.Modeling.ClosureType
작성 하는 닫힌 형식입니다.
반환 값
형식: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
요소 그룹 프로토타입의 컬렉션입니다.
설명
요소 그룹 프로토타입 DistinguishedElements 목록의 루트 요소 목록으로 채워집니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.