/// Add an CHTMLObject public void addObject(CHTMLObject value) { if (value != null) { CHTMLObjects.Add(value); } }
/// <summary> /// Set caption /// </summary> /// <param name="value"></param> public void setCaption(CHTMLObject value) { if (value != null) { _caption = value; } }
/// Remove an CHTMLObject public Boolean removeObject(CHTMLObject value) { if (value != null) { CHTMLObjects.Remove(value); return(true); } return(false); }
/// <summary> /// Ctor /// </summary> /// <param name="href"></param> /// <param name="obj"></param> public CHTMLLink(string href, CHTMLObject obj) { if (href != null) { _href = href; } if (obj != null) { addObject(obj); } }