MarkupExtensionReturnTypeAttribute 생성자

정의

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

오버로드

MarkupExtensionReturnTypeAttribute()

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

MarkupExtensionReturnTypeAttribute(Type)

제공된 Type을 사용하여 MarkupExtensionReturnTypeAttribute 클래스의 새 인스턴스를 초기화합니다.

MarkupExtensionReturnTypeAttribute(Type, Type)
사용되지 않음.

사용되지 않습니다. 사용하지 마십시오.

MarkupExtensionReturnTypeAttribute()

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

public:
 MarkupExtensionReturnTypeAttribute();
public MarkupExtensionReturnTypeAttribute ();
Public Sub New ()

적용 대상

MarkupExtensionReturnTypeAttribute(Type)

제공된 Type을 사용하여 MarkupExtensionReturnTypeAttribute 클래스의 새 인스턴스를 초기화합니다.

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 사용하여 특성을 지정해야 합니다.

적용 대상