다음을 통해 공유


ElementTypeDescriptionProvider.CreateCustomTypeDescriptor 메서드 (ICustomTypeDescriptor, Type)

ICustomTypeDescriptor(ElementTypeDescriptor일 필요가 없음)를 제공하기 위해 파생된 클래스를 재정의할 수 있습니다. 기본 구현은 단순히 CreateTypeDescriptor()를 호출하여 ElementTypeDescriptor를 만듭니다.

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

구문

‘선언
Protected Overridable Function CreateCustomTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    modelElementType As Type _
) As ICustomTypeDescriptor
protected virtual ICustomTypeDescriptor CreateCustomTypeDescriptor(
    ICustomTypeDescriptor parent,
    Type modelElementType
)

매개 변수

  • modelElementType
    형식: System.Type
    설명할 요소의 형식입니다.

반환 값

형식: System.ComponentModel.ICustomTypeDescriptor

.NET Framework 보안

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

참고 항목

참조

ElementTypeDescriptionProvider 클래스

CreateCustomTypeDescriptor 오버로드

Microsoft.VisualStudio.Modeling.Design 네임스페이스