다음을 통해 공유


DomainDataDirectory.GetDomainModel 메서드 (Type)

해당 구현 형식별 도메인 모델을 가져옵니다.

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

구문

‘선언
Public Function GetDomainModel ( _
    type As Type _
) As DomainModelInfo
public DomainModelInfo GetDomainModel(
    Type type
)

매개 변수

  • type
    형식: System.Type
    도메인 모델에 대한 구현 형식입니다.

반환 값

형식: Microsoft.VisualStudio.Modeling.DomainModelInfo
지정된 이름을 가진 DomainModelInfo 개체입니다.

예외

예외 조건
ArgumentNullException

nullNull 참조(Visual Basic의 경우 Nothing) 참조(Visual Basic에서 Nothing)가 인수로 전달되는 경우.

DomainDataNotFoundException

요청된 도메인 모델이 없는 경우

.NET Framework 보안

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

참고 항목

참조

DomainDataDirectory 클래스

GetDomainModel 오버로드

Microsoft.VisualStudio.Modeling 네임스페이스