Microsoft.JScript.ParameterDeclaration.IsDefined C# (CSharp) Méthode

IsDefined() public méthode

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
Résultat bool
      public override bool IsDefined(Type attributeType, bool inherit){
        if (this.customAttributes != null)
          return this.customAttributes.GetAttribute(attributeType) != null;
        else
          return false;
      }