Microsoft.VisualStudio.Project.ReferenceNode.GetAutomationObject C# (CSharp) Method

GetAutomationObject() public method

Get an instance of the automation object for ReferenceNode
public GetAutomationObject ( ) : object
return object
        public override object GetAutomationObject()
        {
            if(this.ProjectManager == null || this.ProjectManager.IsClosed)
            {
                return null;
            }

            return new Automation.OAReferenceItem(this.ProjectManager.GetAutomationObject() as Automation.OAProject, this);
        }