示例#1
0
 /// <summary>
 /// Get an instance of the automation object for a FileNode
 /// </summary>
 /// <returns>
 /// An instance of the Automation.OAFileNode if succeeded
 /// </returns>
 public override object GetAutomationObject()
 {
     return(_AutomationObject ??
            (_AutomationObject = new OAPsProjectFileItem(ProjectMgr.GetAutomationObject() as OAProject, this)));
 }
 /// <summary>
 /// Get an instance of the automation object for a FileNode
 /// </summary>
 /// <returns>
 /// An instance of the Automation.OAFileNode if succeeded
 /// </returns>
 public override object GetAutomationObject()
 {
     return _AutomationObject ??
            ( _AutomationObject = new OAPsProjectFileItem( ProjectMgr.GetAutomationObject() as OAProject, this ) );
 }