다음을 통해 공유


ElementNameProvider.GetElementNames 메서드

주어진 컨테이너 및 포함된 역할 ID의 요소에 대한 모든 고유 요소 이름의 맵을 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.Modeling
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.12.0(Microsoft.VisualStudio.Modeling.Sdk.12.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>
키가 모두 고유한 이름이고 값이 지정된 이름에 대해 처음 검색된 요소인 사전 개체입니다.

예외

예외 조건
ArgumentNullException

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

.NET Framework 보안

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

참고 항목

참조

ElementNameProvider 클래스

Microsoft.VisualStudio.Modeling 네임스페이스