다음을 통해 공유


NewItemTypesAttribute 생성자 (array<Type )

NewItemTypesAttribute 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.Windows.Design.PropertyEditing
어셈블리:  Microsoft.Windows.Design.Interaction(Microsoft.Windows.Design.Interaction.dll)

구문

‘선언
Public Sub New ( _
    ParamArray types As Type() _
)
public NewItemTypesAttribute(
    params Type[] types
)
public:
NewItemTypesAttribute(
    ... array<Type^>^ types
)
new : 
        types:Type[] -> NewItemTypesAttribute
public function NewItemTypesAttribute(
    ... types : Type[]
)

매개 변수

  • types
    형식: array<System.Type[]
    이 특성이 유효한 새 항목 형식으로 선언하는 Type 개체의 배열입니다.

예외

예외 상황
ArgumentNullException

types이 nullNull 참조(Visual Basic의 경우 Nothing)이거나 비어 있는 경우

.NET Framework 보안

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

참고 항목

참조

NewItemTypesAttribute 클래스

NewItemTypesAttribute 오버로드

Microsoft.Windows.Design.PropertyEditing 네임스페이스

NewItemFactory

기타 리소스

속성 편집 아키텍처

WPF Designer 확장성