///<summary>Sets the value of the <c><DetailedDescription></c> element.</summary> /// <param name="Type">The type of information that is contained in the DetailedDescription element.</param> /// <param name="Value">Gets or sets the content value of the &lt;DetailedDescription&gt; element</param> ///<remarks> /// <para>This form of <c>setDetailedDescription</c> is provided as a convenience method /// that is functionally equivalent to the <c>DetailedDescription</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetDetailedDescription( DetailedDescriptionType Type, string Value ) { RemoveChild( GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION); AddChild( GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION, new DetailedDescription( Type, Value ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The type of information that is contained in the DetailedDescription element.</param> ///<param name="value">Gets or sets the content value of the &lt;DetailedDescription&gt; element</param> /// public DetailedDescription(DetailedDescriptionType type, string value) : base(GradebookDTD.DETAILEDDESCRIPTION) { this.SetType(type); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A DetailedDescriptionType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The type of information that is contained in the DetailedDescription element."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType(DetailedDescriptionType val) { SetField(GradebookDTD.DETAILEDDESCRIPTION_TYPE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The type of information that is contained in the DetailedDescription element.</param> ///<param name="value">Gets or sets the content value of the &lt;DetailedDescription&gt; element</param> /// public DetailedDescription( DetailedDescriptionType type, string value ) : base(GradebookDTD.DETAILEDDESCRIPTION) { this.SetType( type ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A DetailedDescriptionType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The type of information that is contained in the DetailedDescription element."</para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType( DetailedDescriptionType val ) { SetField( GradebookDTD.DETAILEDDESCRIPTION_TYPE, val ); }
///<summary>Sets the value of the <c><DetailedDescription></c> element.</summary> /// <param name="Type">The type of information that is contained in the DetailedDescription element.</param> /// <param name="Value">Gets or sets the content value of the &lt;DetailedDescription&gt; element</param> ///<remarks> /// <para>This form of <c>setDetailedDescription</c> is provided as a convenience method /// that is functionally equivalent to the <c>DetailedDescription</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetDetailedDescription(DetailedDescriptionType Type, string Value) { RemoveChild(GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION); AddChild(GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION, new DetailedDescription(Type, Value)); }