/// <summary> /// Adds a new component element to the directory element. /// </summary> /// <param name="id">The id attribute the component element will have.</param> WixComponentElement AddComponent(WixDirectoryElement parentElement, string id) { if (parentElement != null) { WixComponentElement element = parentElement.AddComponent(id); return(element); } return(null); }
/// <summary> /// Adds a new component element to the directory element. /// </summary> WixComponentElement AddComponent(WixDirectoryElement parentDirectory, string fileName) { if (parentDirectory != null) { WixComponentElement component = parentDirectory.AddComponent(fileName); return(component); } return(null); }
/// <summary> /// Adds a new component element to the directory element. /// </summary> WixComponentElement AddComponent(WixDirectoryElement parentDirectory, string fileName) { if (parentDirectory != null) { WixComponentElement component = parentDirectory.AddComponent(fileName); return component; } return null; }
/// <summary> /// Adds a new component element to the directory element. /// </summary> /// <param name="id">The id attribute the component element will have.</param> WixComponentElement AddComponent(WixDirectoryElement parentElement, string id) { if (parentElement != null) { WixComponentElement element = parentElement.AddComponent(id); return element; } return null; }