MarkupExtensionReturnTypeAttribute 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
MarkupExtensionReturnTypeAttribute 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| MarkupExtensionReturnTypeAttribute() |
MarkupExtensionReturnTypeAttribute 클래스의 새 인스턴스를 초기화합니다. |
| MarkupExtensionReturnTypeAttribute(Type) |
제공MarkupExtensionReturnTypeAttribute된 클래스를 사용하여 클래스의 Type 새 인스턴스를 초기화합니다. |
| MarkupExtensionReturnTypeAttribute(Type, Type) |
사용되지 않음.
되지 않는; 사용하지 마세요. |
MarkupExtensionReturnTypeAttribute()
MarkupExtensionReturnTypeAttribute 클래스의 새 인스턴스를 초기화합니다.
public:
MarkupExtensionReturnTypeAttribute();
public MarkupExtensionReturnTypeAttribute();
Public Sub New ()
적용 대상
MarkupExtensionReturnTypeAttribute(Type)
제공MarkupExtensionReturnTypeAttribute된 클래스를 사용하여 클래스의 Type 새 인스턴스를 초기화합니다.
public:
MarkupExtensionReturnTypeAttribute(Type ^ returnType);
public MarkupExtensionReturnTypeAttribute(Type returnType);
new System.Windows.Markup.MarkupExtensionReturnTypeAttribute : Type -> System.Windows.Markup.MarkupExtensionReturnTypeAttribute
Public Sub New (returnType As Type)
매개 변수
- returnType
- Type
이 특성이 보고하는 반환 형식입니다.
설명
MarkupExtension 파생된 사용자 지정 클래스는 구현에서 반환 ProvideValue 되는 형식 안전 반환 형식을 나타내기 위해 이 특성을 적용해야 합니다.
적용 대상
MarkupExtensionReturnTypeAttribute(Type, Type)
주의
The expressionType argument is not used by the XAML parser. To specify the expected return type, use MarkupExtensionReturnTypeAttribute(Type). To specify custom handling for expression types, use XamlSetMarkupExtensionAttribute.
되지 않는; 사용하지 마세요.
public:
MarkupExtensionReturnTypeAttribute(Type ^ returnType, Type ^ expressionType);
public MarkupExtensionReturnTypeAttribute(Type returnType, Type expressionType);
[System.Obsolete("The expressionType argument is not used by the XAML parser. To specify the expected return type, use MarkupExtensionReturnTypeAttribute(Type). To specify custom handling for expression types, use XamlSetMarkupExtensionAttribute.")]
public MarkupExtensionReturnTypeAttribute(Type returnType, Type expressionType);
new System.Windows.Markup.MarkupExtensionReturnTypeAttribute : Type * Type -> System.Windows.Markup.MarkupExtensionReturnTypeAttribute
[<System.Obsolete("The expressionType argument is not used by the XAML parser. To specify the expected return type, use MarkupExtensionReturnTypeAttribute(Type). To specify custom handling for expression types, use XamlSetMarkupExtensionAttribute.")>]
new System.Windows.Markup.MarkupExtensionReturnTypeAttribute : Type * Type -> System.Windows.Markup.MarkupExtensionReturnTypeAttribute
Public Sub New (returnType As Type, expressionType As Type)
매개 변수
- returnType
- Type
이 .NET Framework 특성이 보고하는 반환 형식입니다.
- expressionType
- Type
되지 않는; 사용하지 마세요.
- 특성
설명
식에 MarkupExtensionReturnTypeAttribute 대한 두 번째 매개 변수를 보고하는 형식은 더 이상 사용되지 않으며 사용되지 않아야 합니다. 지연된 평가에 대한 식이나 다른 형식 또는 모델이 가능한 반환 형식인 경우 대신 반환 형식으로 Object 특성을 지정해야 합니다.