[This is preliminary documentation and is subject to change.]
Adds the value of the <Action> element.
| C# | Visual Basic | Visual C++ |
public void AddAction( string Code, Nullable<DateTime> StartDate, Nullable<DateTime> EndDate, Nullable<decimal> Duration, YesNo ZeroTolerance, YesNo FullYearExpulsion, YesNo ShortenedExpulsion, YesNo PoliceNotification, ArrestStatus Arrest, YesNo AlternativeEducation )
Public Sub AddAction ( _ Code As String, _ StartDate As Nullable(Of DateTime), _ EndDate As Nullable(Of DateTime), _ Duration As Nullable(Of Decimal), _ ZeroTolerance As YesNo, _ FullYearExpulsion As YesNo, _ ShortenedExpulsion As YesNo, _ PoliceNotification As YesNo, _ Arrest As ArrestStatus, _ AlternativeEducation As YesNo _ )
- Code (String)
- A Code
- StartDate (Nullable<(Of <DateTime>)>)
- The date on which the disciplinary action begins.
- EndDate (Nullable<(Of <DateTime>)>)
- The date through which the disciplinary action is in effect, inclusive.
- Duration (Nullable<(Of <Decimal>)>)
- Identifies the length, in school days, of the disciplinary action. Note: decimal places may be used for fractions of school days.
- ZeroTolerance (YesNo)
- Identifies whether or not this action taken against a student was imposed as a consequence of state or local zero tolerance policies.
- FullYearExpulsion (YesNo)
- Identifies whether or not the action involved an expulsion with or without services for a period of one full year (i.e., 365 days).
- ShortenedExpulsion (YesNo)
- Identifies whether or not the action involved an expulsion with or without services that is shortened to a term of less than one year by the superintendent or chief administrator of a school district.
- PoliceNotification (YesNo)
- Identifies whether or not the offender's action included notification of local law enforcement, regardless of whether official action was taken.
- Arrest (ArrestStatus)
- Identifies whether or not the offender was arrested.
- AlternativeEducation (YesNo)
- Identifies whether or not the offender was assigned to an Alternative Education facility.
This form of setAction is provided as a convenience method that is functionally equivalent to the method AddAction
Version: 2.0
Since: 2.0