ThemeableAttribute.IsTypeThemeable(Type) 메서드

정의

메서드에 전달된 항목이 Type 테마를 지원하는지 여부를 나타내는 값을 반환합니다.

public:
 static bool IsTypeThemeable(Type ^ type);
public static bool IsTypeThemeable(Type type);
static member IsTypeThemeable : Type -> bool
Public Shared Function IsTypeThemeable (type As Type) As Boolean

매개 변수

type
Type

Type 테마 지원을 테스트할 대상입니다.

반품

테마를 지원하고 스킨을 제어하면 이고, 그렇지 않으면 .

예외

매개 변수는 type .입니다 null.

설명

클래스는 ThemeableAttribute 테마를 지원하는 형식의 정적 내부 카탈로그를 유지 관리하며, 이 메서드는 카탈로그를 검사하여 지정된 Type 형식이 표시되는지 여부를 확인합니다. 그렇지 않은 경우 메서드는 for 특성과 연결된 개체를 AttributeCollectionType 검사 ThemeableAttribute 하여 테마가 지원되는지 여부를 확인합니다.

적용 대상

추가 정보