Show / Hide Table of Contents

Class AnswerProperties

Inheritance
System.Object
AnswerProperties
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Votations.NSurvey.WebControls.UI
Assembly: SurveyProject.WebControls.dll
Syntax
public class AnswerProperties : IEnumerable

Constructors

AnswerProperties()

Creates an empty property collection

Declaration
public AnswerProperties()

AnswerProperties(Int32)

Restore collection for the given answer id

Declaration
public AnswerProperties(int answerId)
Parameters
Type Name Description
System.Int32 answerId

Properties

Item[String]

Declaration
public object this[string PropertyName] { get; set; }
Parameters
Type Name Description
System.String PropertyName
Property Value
Type Description
System.Object

Methods

Add(String, Object)

Declaration
public void Add(string propertyName, object propertyValue)
Parameters
Type Name Description
System.String propertyName
System.Object propertyValue

ContainsProperty(String)

Declaration
public bool ContainsProperty(string propertyName)
Parameters
Type Name Description
System.String propertyName
Returns
Type Description
System.Boolean

Deserialize(Int32)

Deserialize the properties from the datastore and populate the local properties

Declaration
protected virtual object Deserialize(int answerId)
Parameters
Type Name Description
System.Int32 answerId

answer owner of the properties

Returns
Type Description
System.Object

GetEnumerator()

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Remove(String)

Declaration
public void Remove(string propertyName)
Parameters
Type Name Description
System.String propertyName

Serialize(Int32)

Serialize the properties in the datastore added to vts_tbAnswerProperty

Declaration
public virtual void Serialize(int answerId)
Parameters
Type Name Description
System.Int32 answerId

answer owner of the properties

Implements

System.Collections.IEnumerable
In This Article
Back to top Generated by DocFX