public override object GetAutomationObject()
{
//Validate that we are not disposed or the project is closing
if (this.isDisposed || this.ProjectManager == null || this.ProjectManager.IsClosed)
{
return null;
}
return new Automation.OANestedProjectItem(this.ProjectManager.GetAutomationObject() as Automation.OAProject, this);
}