ShouldSerializeText Method ShouldSerializeText() Indicates whether the Text property should be persisted. Declaration public bool ShouldSerializeText() Returns Type Description Boolean True if Text differs from its default value; otherwise false.