ElementNameProvider.GetElementNames 메서드

요소가 지정 된 컨테이너와 id가 포함 된 역할에 대 한 모든 고유한 요소 이름 맵을 가져옵니다.

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

구문

‘선언
Protected Function GetElementNames ( _
    container As ModelElement, _
    embeddedDomainRole As DomainRoleInfo, _
    excludedElement As ModelElement _
) As Dictionary(Of String, ModelElement)
protected Dictionary<string, ModelElement> GetElementNames(
    ModelElement container,
    DomainRoleInfo embeddedDomainRole,
    ModelElement excludedElement
)

매개 변수

반환 값

형식: System.Collections.Generic.Dictionary<String, ModelElement>
Dictionary 개체 키 고유 이름과 값 어디 주어진 이름에 대해 찾은 첫 번째 요소입니다.

예외

예외 조건
ArgumentNullException

container 또는 embeddedDomainRole가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우

.NET Framework 보안

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

참고 항목

참조

ElementNameProvider 클래스

Microsoft.VisualStudio.Modeling 네임스페이스