
| Visual Basic (Declaration) | |
|---|---|
Public Class AttributeBuilder Inherits GrapeCity.ActiveAnalysis.Schema.FieldBuilder(Of AttributesDimBuilder) | |
| C# | |
|---|---|
public class AttributeBuilder : GrapeCity.ActiveAnalysis.Schema.FieldBuilder<AttributesDimBuilder> | |
This class represents a mutable attribute object.
Most of the methods that modify an instance of this class return a reference to that same instance. Since a reference to the instance is returned, you can call a method or property on the reference. This can be convenient if you want to write a single statement that chains successive operations one after another.
| C# | Copy Code |
|---|---|
// Create attribute 'Month' AttributeBuilder attribute = new AttributeBuilder("Month"); attribute.CaptionExpression = new ExpressionBuilder( "=MonthName(Fields!Date_Month.Value) & \", \" & Fields!Date_Year.Value", typeof (string)); | |
System.Object
GrapeCity.ActiveAnalysis.Schema.SchemaItemBuilder
GrapeCity.ActiveAnalysis.Schema.FieldBuilder
GrapeCity.ActiveAnalysis.Schema.FieldBuilder<T>
GrapeCity.ActiveAnalysis.Schema.AttributeBuilder
GrapeCity.ActiveAnalysis.Schema.HierarchyBuilder
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2