Build Website Error: 'does not contain a definition'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emadazizsuria
    New Member
    • Mar 2007
    • 1

    Build Website Error: 'does not contain a definition'

    I'm getting the following error:
    'Questionnaire' does not contain a definition for 'ProcessList'

    Here Questionnaire.c s is a class file that defines a getter function ProcessList.

    public class Questionnaire
    {
    private ArrayList ImpProcesses;
    public Questionnaire()
    {
    //
    // TODO: Add constructor logic here
    //
    }

    public ArrayList ProcessList
    {
    get
    {
    return ImpProcesses;
    }
    }
    }


    The place where I'm calling ProcessList on Questionnaire object, VS2005 intellisense also provides this function in the list after I place dot after questionnaire object variable.

    I don't get it, if intellisense has detected it why is it giving build errors.
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    Welcome to TheScripts TSDN...

    How do you call the ProcessList property? please post the code.

    Thanks,
    Dorin.

    Comment

    Working...