Visual Basic (Declaration) | |
---|---|
<ObsoleteAttribute("The checkMetadataType parameter is obsolete and is no longer needed. Use an overload without this parameter. ")> Public Overloads Shared Function GetAttribute( _ ByVal provider As ICustomAttributeProvider, _ ByVal attributeType As Type, _ ByVal checkMetadataType As Boolean _ ) As Attribute |
Visual Basic (Usage) | ![]() |
---|---|
Dim provider As ICustomAttributeProvider Dim attributeType As Type Dim checkMetadataType As Boolean Dim value As Attribute value = ReflectionFns.GetAttribute(provider, attributeType, checkMetadataType) |
C# | |
---|---|
[ObsoleteAttribute("The checkMetadataType parameter is obsolete and is no longer needed. Use an overload without this parameter. ")] public static Attribute GetAttribute( ICustomAttributeProvider provider, Type attributeType, bool checkMetadataType ) |
C++/CLI | |
---|---|
[ObsoleteAttribute("The checkMetadataType parameter is obsolete and is no longer needed. Use an overload without this parameter. ")] public: static Attribute^ GetAttribute( ICustomAttributeProvider^ provider, Type^ attributeType, bool checkMetadataType ) |
Parameters
- provider
- attributeType
- checkMetadataType
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family