public int GetAutomationObject(string pszPropName, out object ppDisp) { if (pszPropName == "Model") { ppDisp = new ActiveWriterExtensibleObject((Model)this.RootElement); return(VSConstants.S_OK); } else { ppDisp = null; return(VSConstants.E_INVALIDARG); } }
public int GetAutomationObject(string pszPropName, out object ppDisp) { if (pszPropName == "Model") { ppDisp = new ActiveWriterExtensibleObject((Model) this.RootElement); return VSConstants.S_OK; } else { ppDisp = null; return VSConstants.E_INVALIDARG; } }