System.ComponentModel.DataAnnotations.EqualToAttribute.EqualToAttribute C# (CSharp) 메소드

EqualToAttribute() 공개 메소드

Creates a new instance of EqualToAttribute
public EqualToAttribute ( string otherProperty ) : System
otherProperty string
리턴 System
        public EqualToAttribute(string otherProperty)
            : this("'{0}' and '{1}' do not match.", otherProperty)
        {
        }

Same methods

EqualToAttribute::EqualToAttribute ( string errorMessage, string otherProperty ) : System