FilterUIHintAttribute クラス

定義

注意事項

This attribute is no longer in use and will be ignored if applied.

列のフィルター処理の動作を指定するために使用される属性を表します。

public ref class FilterUIHintAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)]
[System.Obsolete("This attribute is no longer in use and will be ignored if applied.")]
public sealed class FilterUIHintAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class FilterUIHintAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)>]
[<System.Obsolete("This attribute is no longer in use and will be ignored if applied.")>]
type FilterUIHintAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)>]
type FilterUIHintAttribute = class
    inherit Attribute
Public NotInheritable Class FilterUIHintAttribute
Inherits Attribute
継承
FilterUIHintAttribute
属性

次の例は、製品エンティティの既定のフィルターを置き換える方法を示しています。

MetadataType(typeof(Product_MD))]  
public partial class Product {  
    private class Product_MD {  
        [FilterUIHint("MultiForeignKey")]  
        public object Category { get; set; }  
        [FilterUIHint("BooleanRadio")]  
        public object Discontinued { get; set; }  
    }  
}  
<MetadataType(GetType(Product_MD))>  _  
Public Class Product  
    Private Class Product_MD  
        <FilterUIHint("MultiForeignKey")>  _  
        Public Property Category As Object  
        End Property  

        <FilterUIHint("BooleanRadio")>  _  
        Public Property Discontinued As Object  
        End Property  

    End Class  
End Class  

コンストラクター

名前 説明
FilterUIHintAttribute(String, String, Object[])
古い.

フィルター UI ヒント、プレゼンテーション レイヤー名、およびコントロール パラメーターを使用して、 FilterUIHintAttribute クラスの新しいインスタンスを初期化します。

FilterUIHintAttribute(String, String)
古い.

フィルター UI ヒントとプレゼンテーション レイヤー名を使用して、 FilterUIHintAttribute クラスの新しいインスタンスを初期化します。

FilterUIHintAttribute(String)
古い.

フィルター UI ヒントを使用して、 FilterUIHintAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
ControlParameters
古い.

コントロールのコンストラクターでパラメーターとして使用される名前と値のペアを取得します。

FilterUIHint
古い.

フィルター処理に使用するコントロールの名前を取得します。

PresentationLayer
古い.

このコントロールをサポートするプレゼンテーション レイヤーの名前を取得します。

TypeId
古い.

この属性インスタンスの一意識別子を返します。

メソッド

名前 説明
Equals(Object)
古い.

この属性インスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

GetHashCode()
古い.

この属性インスタンスのハッシュ コードを返します。

GetType()
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()
古い.

派生クラスでオーバーライドされた場合、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)
古い.

派生クラスでオーバーライドされた場合、このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()
古い.

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

名前 説明
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
古い.

一連の名前を対応する一連のディスパッチ識別子に割り当てます。

(継承元 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
古い.

インターフェイスの型情報を取得するために使用できるオブジェクトの型情報を取得します。

(継承元 Attribute)
_Attribute.GetTypeInfoCount(UInt32)
古い.

オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。

(継承元 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
古い.

オブジェクトによって公開されるプロパティとメソッドへのアクセスを提供します。

(継承元 Attribute)

適用対象