System.Runtime.InteropServices.MarshalAsAttribute.GetCustomAttribute C# (CSharp) Метод

GetCustomAttribute() статический приватный Метод

static private GetCustomAttribute ( ParameterInfo parameter ) : Attribute
parameter ParameterInfo
Результат System.Attribute
        internal static Attribute GetCustomAttribute(ParameterInfo parameter)
        {
            return GetCustomAttribute(parameter.MetadataToken, parameter.Member.Module);
        }

Same methods

MarshalAsAttribute::GetCustomAttribute ( RuntimeFieldInfo field ) : Attribute
MarshalAsAttribute::GetCustomAttribute ( int token, Module scope ) : Attribute

Usage Example

Пример #1
0
 internal static bool IsDefined(RuntimeFieldInfo field)
 {
     return(MarshalAsAttribute.GetCustomAttribute(field) != null);
 }
All Usage Examples Of System.Runtime.InteropServices.MarshalAsAttribute::GetCustomAttribute