ShouldSerialize() public method

public ShouldSerialize ( string keyword ) : bool
keyword string
return bool
示例#1
0
        public override bool CanResetValue(object component)
        {
            DbConnectionStringBuilder builder = (component as DbConnectionStringBuilder);

            return((null != builder) && builder.ShouldSerialize(DisplayName));
        }
        public override bool ShouldSerializeValue(object component)
        {
            DbConnectionStringBuilder builder = component as DbConnectionStringBuilder;

            return((builder != null) && builder.ShouldSerialize(this.DisplayName));
        }