System.Web.UI.ControlBuilder.ResetState C# (CSharp) Method

ResetState() private method

private ResetState ( ) : void
return void
		internal void ResetState()
		{
			renderIndex = 0;
			haveParserVariable = false;

			if (Children != null) {
				foreach (object child in Children) {
					ControlBuilder cb = child as ControlBuilder;
					if (cb != null)
						cb.ResetState ();
				}
			}
		}
#endif

Usage Example

Example #1
0
        internal void ResetState()
        {
            renderIndex        = 0;
            haveParserVariable = false;

            if (Children != null)
            {
                foreach (object child in Children)
                {
                    ControlBuilder cb = child as ControlBuilder;
                    if (cb != null)
                    {
                        cb.ResetState();
                    }
                }
            }
        }