AddAttribute Method AddAttribute(string) Adds an indexed attribute. Declaration public IndexOptions AddAttribute(string attribute) Parameters string attribute The name of the attribute. Returns IndexOptions This instance for chaining.