FeatureAttribute 생성자

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

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

구문

‘선언
Public Sub New ( _
    featureProviderType As Type _
)
public FeatureAttribute(
    Type featureProviderType
)
public:
FeatureAttribute(
    Type^ featureProviderType
)
new : 
        featureProviderType:Type -> FeatureAttribute
public function FeatureAttribute(
    featureProviderType : Type
)

매개 변수

  • featureProviderType
    형식: System.Type
    이 특성이 설명하는 기능 공급자의 형식입니다.

예외

예외 상황
ArgumentNullException

featureProviderType는 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

ArgumentException

featureProviderType에서 기능 공급자를 할당할 수 없는 경우

설명

FeatureAttribute에는 기능 관리자에서 인스턴스화할 FeatureProvider의 형식이 저장됩니다. featureProviderType 매개 변수는 FeatureProvider에서 상속되는 클래스를 지정해야 합니다.

.NET Framework 보안

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

참고 항목

참조

FeatureAttribute 클래스

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

FeatureProvider

기타 리소스

기능 공급자 및 기능 커넥터