CustomAttributeExtensions 類別

定義

包含擷取自訂屬性的靜態方法。

public ref class CustomAttributeExtensions abstract sealed
public static class CustomAttributeExtensions
type CustomAttributeExtensions = class
Public Module CustomAttributeExtensions
繼承
CustomAttributeExtensions

方法

GetCustomAttribute(Assembly, Type)

擷取指定型別的自訂屬性,此屬性套用至指定組件。

GetCustomAttribute(MemberInfo, Type)

擷取指定型別的自訂屬性,此屬性套用至指定成員。

GetCustomAttribute(MemberInfo, Type, Boolean)

擷取只訂型別的自訂屬性,此屬性套用至指定成員,並且可選擇性檢查該成員的祖系。

GetCustomAttribute(Module, Type)

擷取指定型別的自訂屬性,此屬性套用至指定模組。

GetCustomAttribute(ParameterInfo, Type)

擷取指定型別的自訂屬性,此屬性套用至指定參數。

GetCustomAttribute(ParameterInfo, Type, Boolean)

擷取只訂型別的自訂屬性,此屬性套用至指定參數,並且可選擇性檢查該參數的祖系。

GetCustomAttribute<T>(Assembly)

擷取指定型別的自訂屬性,此屬性套用至指定組件。

GetCustomAttribute<T>(MemberInfo)

擷取指定型別的自訂屬性,此屬性套用至指定成員。

GetCustomAttribute<T>(MemberInfo, Boolean)

擷取只訂型別的自訂屬性,此屬性套用至指定成員,並且可選擇性檢查該成員的祖系。

GetCustomAttribute<T>(Module)

擷取指定型別的自訂屬性,此屬性套用至指定模組。

GetCustomAttribute<T>(ParameterInfo)

擷取指定型別的自訂屬性,此屬性套用至指定參數。

GetCustomAttribute<T>(ParameterInfo, Boolean)

擷取只訂型別的自訂屬性,此屬性套用至指定參數,並且可選擇性檢查該參數的祖系。

GetCustomAttributes(Assembly)

擷取套用至指定組件的自訂屬性集合。

GetCustomAttributes(Assembly, Type)

擷取指定型別的自訂屬性集合,此集合套用至指定組件。

GetCustomAttributes(MemberInfo)

擷取套用至指定成員的自訂屬性集合。

GetCustomAttributes(MemberInfo, Boolean)

擷取自訂屬性集合,此集合套用至指定成員,並且可選擇性檢查該成員的祖系。

GetCustomAttributes(MemberInfo, Type)

擷取指定型別的自訂屬性集合,此集合套用至指定成員。

GetCustomAttributes(MemberInfo, Type, Boolean)

擷取指定型別的自訂屬性集合,此集合套用至指定成員,並且可選擇性檢查該成員的祖系。

GetCustomAttributes(Module)

擷取套用至指定模組的自訂屬性集合。

GetCustomAttributes(Module, Type)

擷取指定型別的自訂屬性集合,此集合套用至指定模組。

GetCustomAttributes(ParameterInfo)

擷取套用至指定參數的自訂屬性集合。

GetCustomAttributes(ParameterInfo, Boolean)

擷取自訂屬性集合,此集合套用至指定參數,並且可選擇性檢查該參數的祖系。

GetCustomAttributes(ParameterInfo, Type)

擷取指定型別的自訂屬性集合,此集合套用至指定參數。

GetCustomAttributes(ParameterInfo, Type, Boolean)

擷取指定型別的自訂屬性集合,此集合套用至指定參數,並且可選擇性檢查該參數的祖系。

GetCustomAttributes<T>(Assembly)

擷取指定型別的自訂屬性集合,此集合套用至指定組件。

GetCustomAttributes<T>(MemberInfo)

擷取指定型別的自訂屬性集合,此集合套用至指定成員。

GetCustomAttributes<T>(MemberInfo, Boolean)

擷取指定型別的自訂屬性集合,此集合套用至指定成員,並且可選擇性檢查該成員的祖系。

GetCustomAttributes<T>(Module)

擷取指定型別的自訂屬性集合,此集合套用至指定模組。

GetCustomAttributes<T>(ParameterInfo)

擷取指定型別的自訂屬性集合,此集合套用至指定參數。

GetCustomAttributes<T>(ParameterInfo, Boolean)

擷取指定型別的自訂屬性集合,此集合套用至指定參數,並且可選擇性檢查該參數的祖系。

IsDefined(Assembly, Type)

指出是否將所指定型別的自訂屬性套用至指定的組件。

IsDefined(MemberInfo, Type)

指出是否將所指定型別的自訂屬性套用至指定的成員。

IsDefined(MemberInfo, Type, Boolean)

指出指定之型別的自訂屬性是否會套用至指定的成員,以及選擇性地套用到其上階。

IsDefined(Module, Type)

指出是否將所指定型別的自訂屬性套用至指定的模組。

IsDefined(ParameterInfo, Type)

指出是否將所指定型別的自訂屬性套用至指定的參數。

IsDefined(ParameterInfo, Type, Boolean)

指出指定之型別的自訂屬性是否會套用至指定的參數,以及選擇性地套用到其上階。

適用於