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

非推奨。使用しないでください。

属性

注釈

式の 2 番目のパラメーターを報告する の MarkupExtensionReturnTypeAttribute 形式は非推奨または廃止されており、使用しないでください。 遅延評価の式またはその他の型またはモデルが可能な戻り値の型である場合は、代わりに 戻り値の Object 型を持つ 属性を指定する必要があります。

適用対象