Bitmap for WPF
GetCustomAttributes<T> メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX 名前空間 > DXUtil クラス : GetCustomAttributes<T> メソッド
Type of the custom attribute.
The member info.
if set to true[inherited].
Gets the custom attributes.
シンタックス
'宣言
 
Public Shared Function GetCustomAttributes(Of T As System.Attribute)( _
   ByVal memberInfo As System.Reflection.MemberInfo, _
   Optional ByVal inherited As System.Boolean _
) As System.Collections.Generic.IEnumerable(Of T)
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>( 
   System.Reflection.MemberInfo memberInfo,
   System.bool inherited
)
where T: System.Attribute

パラメータ

memberInfo
The member info.
inherited
if set to true[inherited].

型パラメータ

T
Type of the custom attribute.

戻り値の型

The custom attribute or null if not found.
参照

DXUtil クラス
DXUtil メンバ