コード例 #1
0
 /// <summary>
 /// returns all running Outlook.AssignToCategoryRuleAction objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Outlook.AssignToCategoryRuleAction array</returns>
 public static NetOffice.OutlookApi.AssignToCategoryRuleAction[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Outlook", "AssignToCategoryRuleAction");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.AssignToCategoryRuleAction> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.AssignToCategoryRuleAction>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.OutlookApi.AssignToCategoryRuleAction(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #2
0
 /// <summary>
 /// returns all running OWC10.NumberFormat objects from the running object table(ROT)
 /// </summary>
 /// <returns>an OWC10.NumberFormat array</returns>
 public static NetOffice.OWC10Api.NumberFormat[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("OWC10", "NumberFormat");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.OWC10Api.NumberFormat> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OWC10Api.NumberFormat>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.OWC10Api.NumberFormat(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #3
0
ファイル: SmartTag.cs プロジェクト: NetOfficeFw/symbols
 /// <summary>
 /// returns all running Access.SmartTag objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Access.SmartTag array</returns>
 public static NetOffice.AccessApi.SmartTag[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Access", "SmartTag");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi.SmartTag> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi.SmartTag>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.AccessApi.SmartTag(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #4
0
 /// <summary>
 /// returns all running ADODB.Command objects from the running object table(ROT)
 /// </summary>
 /// <returns>an ADODB.Command array</returns>
 public static NetOffice.ADODBApi.Command[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("ADODB", "Command");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.ADODBApi.Command> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.ADODBApi.Command>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.ADODBApi.Command(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #5
0
ファイル: PrivDBEngine.cs プロジェクト: NetOfficeFw/symbols
 /// <summary>
 /// returns all running DAO.PrivDBEngine objects from the running object table(ROT)
 /// </summary>
 /// <returns>an DAO.PrivDBEngine array</returns>
 public static NetOffice.DAOApi.PrivDBEngine[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("DAO", "PrivDBEngine");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.DAOApi.PrivDBEngine> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.DAOApi.PrivDBEngine>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.DAOApi.PrivDBEngine(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #6
0
ファイル: TextBox.cs プロジェクト: NetOfficeFw/symbols
 /// <summary>
 /// returns all running MSForms.TextBox objects from the running object table(ROT)
 /// </summary>
 /// <returns>an MSForms.TextBox array</returns>
 public static NetOffice.MSFormsApi.TextBox[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("MSForms", "TextBox");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.MSFormsApi.TextBox> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSFormsApi.TextBox>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.MSFormsApi.TextBox(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #7
0
 /// <summary>
 /// returns all running MSHTML.HTMLAttributeCollection objects from the running object table(ROT)
 /// </summary>
 /// <returns>an MSHTML.HTMLAttributeCollection array</returns>
 public static NetOffice.MSHTMLApi.HTMLAttributeCollection[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("MSHTML", "HTMLAttributeCollection");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.MSHTMLApi.HTMLAttributeCollection> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSHTMLApi.HTMLAttributeCollection>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.MSHTMLApi.HTMLAttributeCollection(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #8
0
ファイル: Document.cs プロジェクト: krishkhan/NetOffice-NuGet
 /// <summary>
 /// returns all running Word.Document objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Word.Document array</returns>
 public static NetOffice.WordApi.Document[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Word", "Document");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.WordApi.Document> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.WordApi.Document>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.WordApi.Document(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #9
0
 /// <summary>
 /// returns all running Outlook.TaskRequestUpdateItem objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Outlook.TaskRequestUpdateItem array</returns>
 public static NetOffice.OutlookApi.TaskRequestUpdateItem[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Outlook", "TaskRequestUpdateItem");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.TaskRequestUpdateItem> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.TaskRequestUpdateItem>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.OutlookApi.TaskRequestUpdateItem(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #10
0
ファイル: Workbook.cs プロジェクト: krishkhan/NetOffice-NuGet
 /// <summary>
 /// returns all running Excel.Workbook objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Excel.Workbook array</returns>
 public static NetOffice.ExcelApi.Workbook[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Excel", "Workbook");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.ExcelApi.Workbook> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.ExcelApi.Workbook>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.ExcelApi.Workbook(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #11
0
ファイル: Master.cs プロジェクト: NetOfficeFw/symbols
 /// <summary>
 /// returns all running PowerPoint.Master objects from the running object table(ROT)
 /// </summary>
 /// <returns>an PowerPoint.Master array</returns>
 public static NetOffice.PowerPointApi.Master[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("PowerPoint", "Master");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.PowerPointApi.Master> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.PowerPointApi.Master>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.PowerPointApi.Master(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #12
0
ファイル: Addons.cs プロジェクト: NetOfficeFw/symbols
 /// <summary>
 /// returns all running Visio.Addons objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Visio.Addons array</returns>
 public static NetOffice.VisioApi.Addons[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Visio", "Addons");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.VisioApi.Addons> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.VisioApi.Addons>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.VisioApi.Addons(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #13
0
ファイル: Node.cs プロジェクト: NetOfficeFw/symbols
 /// <summary>
 /// returns all running MSComctlLib.Node objects from the running object table(ROT)
 /// </summary>
 /// <returns>an MSComctlLib.Node array</returns>
 public static NetOffice.MSComctlLibApi.Node[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("MSComctlLib", "Node");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.MSComctlLibApi.Node> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSComctlLibApi.Node>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.MSComctlLibApi.Node(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #14
0
 /// <summary>
 /// returns all running Outlook._PageWrapCtrl objects from the running object table(ROT)
 /// </summary>
 /// <returns>an Outlook._PageWrapCtrl array</returns>
 public static NetOffice.OutlookApi._PageWrapCtrl[] GetActiveInstances()
 {
     NetRuntimeSystem.Collections.Generic.List <object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Outlook", "_PageWrapCtrl");
     NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi._PageWrapCtrl> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi._PageWrapCtrl>();
     foreach (object proxy in proxyList)
     {
         resultList.Add(new NetOffice.OutlookApi._PageWrapCtrl(null, proxy));
     }
     return(resultList.ToArray());
 }
コード例 #15
0
ファイル: CommandBarEvents.cs プロジェクト: zyfzgt/NetOffice
        /// <summary>
        /// Returns all running VBIDE.CommandBarEvents objects from the environment/system
        /// </summary>
        /// <returns>an VBIDE.CommandBarEvents array</returns>
        public static NetOffice.VBIDEApi.CommandBarEvents[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("VBIDE", "CommandBarEvents");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.VBIDEApi.CommandBarEvents> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.VBIDEApi.CommandBarEvents>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.VBIDEApi.CommandBarEvents(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #16
0
        /// <summary>
        /// Returns all running Outlook.SenderInAddressListRuleCondition objects from the environment/system
        /// </summary>
        /// <returns>an Outlook.SenderInAddressListRuleCondition array</returns>
        public static NetOffice.OutlookApi.SenderInAddressListRuleCondition[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Outlook", "SenderInAddressListRuleCondition");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.SenderInAddressListRuleCondition> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.SenderInAddressListRuleCondition>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.OutlookApi.SenderInAddressListRuleCondition(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #17
0
ファイル: OLEControl.cs プロジェクト: mikhafandi/NetOffice
        /// <summary>
        /// Returns all running Word.OLEControl objects from the environment/system
        /// </summary>
        /// <returns>an Word.OLEControl array</returns>
        public static NetOffice.WordApi.OLEControl[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Word", "OLEControl");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.WordApi.OLEControl> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.WordApi.OLEControl>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.WordApi.OLEControl(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #18
0
        /// <summary>
        /// Returns all running Access._ToggleButtonInOption objects from the environment/system
        /// </summary>
        /// <returns>an Access._ToggleButtonInOption array</returns>
        public static NetOffice.AccessApi._ToggleButtonInOption[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Access", "_ToggleButtonInOption");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi._ToggleButtonInOption> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi._ToggleButtonInOption>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.AccessApi._ToggleButtonInOption(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #19
0
ファイル: Slide.cs プロジェクト: zyfzgt/NetOffice
        /// <summary>
        /// Returns all running PowerPoint.Slide objects from the environment/system
        /// </summary>
        /// <returns>an PowerPoint.Slide array</returns>
        public static NetOffice.PowerPointApi.Slide[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("PowerPoint", "Slide");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.PowerPointApi.Slide> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.PowerPointApi.Slide>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.PowerPointApi.Slide(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #20
0
        /// <summary>
        /// Returns all running Office.CustomXMLSchemaCollection objects from the environment/system
        /// </summary>
        /// <returns>an Office.CustomXMLSchemaCollection array</returns>
        public static NetOffice.OfficeApi.CustomXMLSchemaCollection[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Office", "CustomXMLSchemaCollection");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.OfficeApi.CustomXMLSchemaCollection> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OfficeApi.CustomXMLSchemaCollection>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.OfficeApi.CustomXMLSchemaCollection(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #21
0
ファイル: OfflineInfo.cs プロジェクト: zyfzgt/NetOffice
        /// <summary>
        /// Returns all running OWC10.OfflineInfo objects from the environment/system
        /// </summary>
        /// <returns>an OWC10.OfflineInfo array</returns>
        public static NetOffice.OWC10Api.OfflineInfo[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("OWC10", "OfflineInfo");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.OWC10Api.OfflineInfo> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OWC10Api.OfflineInfo>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.OWC10Api.OfflineInfo(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #22
0
        /// <summary>
        /// Returns all running Access.AllStoredProcedures objects from the environment/system
        /// </summary>
        /// <returns>an Access.AllStoredProcedures array</returns>
        public static NetOffice.AccessApi.AllStoredProcedures[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Access", "AllStoredProcedures");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi.AllStoredProcedures> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi.AllStoredProcedures>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.AccessApi.AllStoredProcedures(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #23
0
ファイル: Font.cs プロジェクト: mikhafandi/NetOffice
        /// <summary>
        /// Returns all running Visio.Font objects from the environment/system
        /// </summary>
        /// <returns>an Visio.Font array</returns>
        public static NetOffice.VisioApi.Font[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Visio", "Font");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.VisioApi.Font> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.VisioApi.Font>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.VisioApi.Font(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #24
0
ファイル: Explorers.cs プロジェクト: mikhafandi/NetOffice
        /// <summary>
        /// Returns all running Outlook.Explorers objects from the environment/system
        /// </summary>
        /// <returns>an Outlook.Explorers array</returns>
        public static NetOffice.OutlookApi.Explorers[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Outlook", "Explorers");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.Explorers> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.OutlookApi.Explorers>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.OutlookApi.Explorers(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #25
0
        /// <summary>
        /// Returns all running Access._CustomControlInReport objects from the environment/system
        /// </summary>
        /// <returns>an Access._CustomControlInReport array</returns>
        public static NetOffice.AccessApi._CustomControlInReport[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Access", "_CustomControlInReport");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi._CustomControlInReport> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.AccessApi._CustomControlInReport>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.AccessApi._CustomControlInReport(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #26
0
        /// <summary>
        /// Returns all running MSHTML.HTMLAttributeCollection objects from the environment/system
        /// </summary>
        /// <returns>an MSHTML.HTMLAttributeCollection array</returns>
        public static NetOffice.MSHTMLApi.HTMLAttributeCollection[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSHTML", "HTMLAttributeCollection");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.MSHTMLApi.HTMLAttributeCollection> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSHTMLApi.HTMLAttributeCollection>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.MSHTMLApi.HTMLAttributeCollection(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #27
0
ファイル: Nodes.cs プロジェクト: mikhafandi/NetOffice
        /// <summary>
        /// Returns all running MSComctlLib.Nodes objects from the environment/system
        /// </summary>
        /// <returns>an MSComctlLib.Nodes array</returns>
        public static NetOffice.MSComctlLibApi.Nodes[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSComctlLib", "Nodes");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.MSComctlLibApi.Nodes> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSComctlLibApi.Nodes>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.MSComctlLibApi.Nodes(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #28
0
        /// <summary>
        /// Returns all running MSHTML.XDomainRequestFactory objects from the environment/system
        /// </summary>
        /// <returns>an MSHTML.XDomainRequestFactory array</returns>
        public static NetOffice.MSHTMLApi.XDomainRequestFactory[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSHTML", "XDomainRequestFactory");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.MSHTMLApi.XDomainRequestFactory> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSHTMLApi.XDomainRequestFactory>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.MSHTMLApi.XDomainRequestFactory(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #29
0
ファイル: Workbook.cs プロジェクト: mikhafandi/NetOffice
        /// <summary>
        /// Returns all running Excel.Workbook objects from the environment/system
        /// </summary>
        /// <returns>an Excel.Workbook array</returns>
        public static NetOffice.ExcelApi.Workbook[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Excel", "Workbook");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.ExcelApi.Workbook> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.ExcelApi.Workbook>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.ExcelApi.Workbook(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #30
0
ファイル: UserForm.cs プロジェクト: zyfzgt/NetOffice
        /// <summary>
        /// Returns all running MSForms.UserForm objects from the environment/system
        /// </summary>
        /// <returns>an MSForms.UserForm array</returns>
        public static NetOffice.MSFormsApi.UserForm[] GetActiveInstances()
        {
            IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSForms", "UserForm");

            NetRuntimeSystem.Collections.Generic.List <NetOffice.MSFormsApi.UserForm> resultList = new NetRuntimeSystem.Collections.Generic.List <NetOffice.MSFormsApi.UserForm>();
            foreach (object proxy in proxyList)
            {
                resultList.Add(new NetOffice.MSFormsApi.UserForm(null, proxy));
            }
            return(resultList.ToArray());
        }
コード例 #31
0
ファイル: Layers.cs プロジェクト: vnkolt/NetOffice
		/// <summary>
        /// returns all running Visio.Layers objects from the running object table(ROT)
        /// </summary>
        /// <returns>an Visio.Layers array</returns>
		public static NetOffice.VisioApi.Layers[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Visio","Layers");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.VisioApi.Layers> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.VisioApi.Layers>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.VisioApi.Layers(null, proxy) );
			return resultList.ToArray();
		}
コード例 #32
0
		/// <summary>
        /// returns all running OWC10.FieldListControl objects from the running object table(ROT)
        /// </summary>
        /// <returns>an OWC10.FieldListControl array</returns>
		public static NetOffice.OWC10Api.FieldListControl[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("OWC10","FieldListControl");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.OWC10Api.FieldListControl> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.OWC10Api.FieldListControl>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.OWC10Api.FieldListControl(null, proxy) );
			return resultList.ToArray();
		}
コード例 #33
0
ファイル: TextBox.cs プロジェクト: swatt6400/NetOffice
		/// <summary>
        /// returns all running MSForms.TextBox objects from the running object table(ROT)
        /// </summary>
        /// <returns>an MSForms.TextBox array</returns>
		public static NetOffice.MSFormsApi.TextBox[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("MSForms","TextBox");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSFormsApi.TextBox> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSFormsApi.TextBox>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSFormsApi.TextBox(null, proxy) );
			return resultList.ToArray();
		}
コード例 #34
0
		/// <summary>
        /// Returns all running MSHTML.HTMLDocumentCompatibleInfoCollection objects from the environment/system
        /// </summary>
        /// <returns>an MSHTML.HTMLDocumentCompatibleInfoCollection array</returns>
		public static NetOffice.MSHTMLApi.HTMLDocumentCompatibleInfoCollection[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSHTML","HTMLDocumentCompatibleInfoCollection");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.HTMLDocumentCompatibleInfoCollection> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.HTMLDocumentCompatibleInfoCollection>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSHTMLApi.HTMLDocumentCompatibleInfoCollection(null, proxy) );
			return resultList.ToArray();
		}
コード例 #35
0
		/// <summary>
        /// Returns all running Outlook.SenderInAddressListRuleCondition objects from the environment/system
        /// </summary>
        /// <returns>an Outlook.SenderInAddressListRuleCondition array</returns>
		public static NetOffice.OutlookApi.SenderInAddressListRuleCondition[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Outlook","SenderInAddressListRuleCondition");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.OutlookApi.SenderInAddressListRuleCondition> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.OutlookApi.SenderInAddressListRuleCondition>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.OutlookApi.SenderInAddressListRuleCondition(null, proxy) );
			return resultList.ToArray();
		}
コード例 #36
0
ファイル: Workbook.cs プロジェクト: swatt6400/NetOffice
		/// <summary>
        /// returns all running Excel.Workbook objects from the running object table(ROT)
        /// </summary>
        /// <returns>an Excel.Workbook array</returns>
		public static NetOffice.ExcelApi.Workbook[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Excel","Workbook");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.ExcelApi.Workbook> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.ExcelApi.Workbook>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.ExcelApi.Workbook(null, proxy) );
			return resultList.ToArray();
		}
コード例 #37
0
ファイル: Slide.cs プロジェクト: netintellect/NetOffice
		/// <summary>
        /// returns all running PowerPoint.Slide objects from the running object table(ROT)
        /// </summary>
        /// <returns>an PowerPoint.Slide array</returns>
		public static NetOffice.PowerPointApi.Slide[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("PowerPoint","Slide");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.PowerPointApi.Slide> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.PowerPointApi.Slide>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.PowerPointApi.Slide(null, proxy) );
			return resultList.ToArray();
		}
コード例 #38
0
		/// <summary>
        /// Returns all running Access.NavigationControl objects from the environment/system
        /// </summary>
        /// <returns>an Access.NavigationControl array</returns>
		public static NetOffice.AccessApi.NavigationControl[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Access","NavigationControl");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi.NavigationControl> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi.NavigationControl>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.AccessApi.NavigationControl(null, proxy) );
			return resultList.ToArray();
		}
コード例 #39
0
ファイル: Group.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running DAO.Group objects from the environment/system
        /// </summary>
        /// <returns>an DAO.Group array</returns>
		public static NetOffice.DAOApi.Group[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("DAO","Group");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.DAOApi.Group> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.DAOApi.Group>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.DAOApi.Group(null, proxy) );
			return resultList.ToArray();
		}
コード例 #40
0
		/// <summary>
        /// Returns all running MSHTML.ThreadDialogProcParam objects from the environment/system
        /// </summary>
        /// <returns>an MSHTML.ThreadDialogProcParam array</returns>
		public static NetOffice.MSHTMLApi.ThreadDialogProcParam[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSHTML","ThreadDialogProcParam");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.ThreadDialogProcParam> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.ThreadDialogProcParam>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSHTMLApi.ThreadDialogProcParam(null, proxy) );
			return resultList.ToArray();
		}
コード例 #41
0
ファイル: Toolbar.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running MSComctlLib.Toolbar objects from the environment/system
        /// </summary>
        /// <returns>an MSComctlLib.Toolbar array</returns>
		public static NetOffice.MSComctlLibApi.Toolbar[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSComctlLib","Toolbar");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSComctlLibApi.Toolbar> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSComctlLibApi.Toolbar>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSComctlLibApi.Toolbar(null, proxy) );
			return resultList.ToArray();
		}
コード例 #42
0
ファイル: QueryDef.cs プロジェクト: vnkolt/NetOffice
		/// <summary>
        /// returns all running DAO.QueryDef objects from the running object table(ROT)
        /// </summary>
        /// <returns>an DAO.QueryDef array</returns>
		public static NetOffice.DAOApi.QueryDef[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("DAO","QueryDef");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.DAOApi.QueryDef> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.DAOApi.QueryDef>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.DAOApi.QueryDef(null, proxy) );
			return resultList.ToArray();
		}
コード例 #43
0
ファイル: CodeModule.cs プロジェクト: vnkolt/NetOffice
		/// <summary>
        /// returns all running VBIDE.CodeModule objects from the running object table(ROT)
        /// </summary>
        /// <returns>an VBIDE.CodeModule array</returns>
		public static NetOffice.VBIDEApi.CodeModule[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("VBIDE","CodeModule");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.VBIDEApi.CodeModule> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.VBIDEApi.CodeModule>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.VBIDEApi.CodeModule(null, proxy) );
			return resultList.ToArray();
		}
コード例 #44
0
ファイル: Parameter.cs プロジェクト: vnkolt/NetOffice
		/// <summary>
        /// returns all running ADODB.Parameter objects from the running object table(ROT)
        /// </summary>
        /// <returns>an ADODB.Parameter array</returns>
		public static NetOffice.ADODBApi.Parameter[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("ADODB","Parameter");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.ADODBApi.Parameter> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.ADODBApi.Parameter>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.ADODBApi.Parameter(null, proxy) );
			return resultList.ToArray();
		}
コード例 #45
0
ファイル: LetterContent.cs プロジェクト: swatt6400/NetOffice
		/// <summary>
        /// returns all running Word.LetterContent objects from the running object table(ROT)
        /// </summary>
        /// <returns>an Word.LetterContent array</returns>
		public static NetOffice.WordApi.LetterContent[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Word","LetterContent");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.WordApi.LetterContent> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.WordApi.LetterContent>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.WordApi.LetterContent(null, proxy) );
			return resultList.ToArray();
		}
コード例 #46
0
		/// <summary>
        /// Returns all running MSHTML.HTCPropertyBehavior objects from the environment/system
        /// </summary>
        /// <returns>an MSHTML.HTCPropertyBehavior array</returns>
		public static NetOffice.MSHTMLApi.HTCPropertyBehavior[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSHTML","HTCPropertyBehavior");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.HTCPropertyBehavior> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.HTCPropertyBehavior>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSHTMLApi.HTCPropertyBehavior(null, proxy) );
			return resultList.ToArray();
		}
コード例 #47
0
ファイル: CustomTaskPane.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running Office.CustomTaskPane objects from the environment/system
        /// </summary>
        /// <returns>an Office.CustomTaskPane array</returns>
		public static NetOffice.OfficeApi.CustomTaskPane[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Office","CustomTaskPane");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.OfficeApi.CustomTaskPane> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.OfficeApi.CustomTaskPane>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.OfficeApi.CustomTaskPane(null, proxy) );
			return resultList.ToArray();
		}
コード例 #48
0
ファイル: AccelTable.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running Visio.AccelTable objects from the environment/system
        /// </summary>
        /// <returns>an Visio.AccelTable array</returns>
		public static NetOffice.VisioApi.AccelTable[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Visio","AccelTable");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.VisioApi.AccelTable> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.VisioApi.AccelTable>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.VisioApi.AccelTable(null, proxy) );
			return resultList.ToArray();
		}
コード例 #49
0
ファイル: Application.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running PowerPoint.Application objects from the environment/system
        /// </summary>
        /// <returns>an PowerPoint.Application array</returns>
		public static NetOffice.PowerPointApi.Application[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("PowerPoint","Application");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.PowerPointApi.Application> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.PowerPointApi.Application>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.PowerPointApi.Application(null, proxy) );
			return resultList.ToArray();
		}
コード例 #50
0
		/// <summary>
        /// Returns all running Access._ToggleButtonInOption objects from the environment/system
        /// </summary>
        /// <returns>an Access._ToggleButtonInOption array</returns>
		public static NetOffice.AccessApi._ToggleButtonInOption[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Access","_ToggleButtonInOption");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi._ToggleButtonInOption> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi._ToggleButtonInOption>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.AccessApi._ToggleButtonInOption(null, proxy) );
			return resultList.ToArray();
		}
コード例 #51
0
ファイル: HTMLCheckbox.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running MSForms.HTMLCheckbox objects from the environment/system
        /// </summary>
        /// <returns>an MSForms.HTMLCheckbox array</returns>
		public static NetOffice.MSFormsApi.HTMLCheckbox[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSForms","HTMLCheckbox");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSFormsApi.HTMLCheckbox> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSFormsApi.HTMLCheckbox>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSFormsApi.HTMLCheckbox(null, proxy) );
			return resultList.ToArray();
		}
コード例 #52
0
ファイル: Accounts.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running Outlook.Accounts objects from the environment/system
        /// </summary>
        /// <returns>an Outlook.Accounts array</returns>
		public static NetOffice.OutlookApi.Accounts[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Outlook","Accounts");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.OutlookApi.Accounts> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.OutlookApi.Accounts>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.OutlookApi.Accounts(null, proxy) );
			return resultList.ToArray();
		}
コード例 #53
0
ファイル: Report.cs プロジェクト: swatt6400/NetOffice
		/// <summary>
        /// returns all running Access.Report objects from the running object table(ROT)
        /// </summary>
        /// <returns>an Access.Report array</returns>
		public static NetOffice.AccessApi.Report[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Access","Report");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi.Report> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi.Report>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.AccessApi.Report(null, proxy) );
			return resultList.ToArray();
		}
コード例 #54
0
		/// <summary>
        /// Returns all running Word.ParagraphFormat objects from the environment/system
        /// </summary>
        /// <returns>an Word.ParagraphFormat array</returns>
		public static NetOffice.WordApi.ParagraphFormat[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Word","ParagraphFormat");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.WordApi.ParagraphFormat> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.WordApi.ParagraphFormat>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.WordApi.ParagraphFormat(null, proxy) );
			return resultList.ToArray();
		}
コード例 #55
0
		/// <summary>
        /// returns all running Outlook.OutlookBarPane objects from the running object table(ROT)
        /// </summary>
        /// <returns>an Outlook.OutlookBarPane array</returns>
		public static NetOffice.OutlookApi.OutlookBarPane[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("Outlook","OutlookBarPane");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.OutlookApi.OutlookBarPane> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.OutlookApi.OutlookBarPane>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.OutlookApi.OutlookBarPane(null, proxy) );
			return resultList.ToArray();
		}
コード例 #56
0
ファイル: XDomainRequest.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running MSHTML.XDomainRequest objects from the environment/system
        /// </summary>
        /// <returns>an MSHTML.XDomainRequest array</returns>
		public static NetOffice.MSHTMLApi.XDomainRequest[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("MSHTML","XDomainRequest");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.XDomainRequest> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.XDomainRequest>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSHTMLApi.XDomainRequest(null, proxy) );
			return resultList.ToArray();
		}
コード例 #57
0
ファイル: Button.cs プロジェクト: swatt6400/NetOffice
		/// <summary>
        /// returns all running MSComctlLib.Button objects from the running object table(ROT)
        /// </summary>
        /// <returns>an MSComctlLib.Button array</returns>
		public static NetOffice.MSComctlLibApi.Button[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("MSComctlLib","Button");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSComctlLibApi.Button> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSComctlLibApi.Button>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSComctlLibApi.Button(null, proxy) );
			return resultList.ToArray();
		}
コード例 #58
0
ファイル: Component.cs プロジェクト: netoffice/NetOffice
		/// <summary>
        /// Returns all running VBIDE.Component objects from the environment/system
        /// </summary>
        /// <returns>an VBIDE.Component array</returns>
		public static NetOffice.VBIDEApi.Component[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("VBIDE","Component");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.VBIDEApi.Component> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.VBIDEApi.Component>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.VBIDEApi.Component(null, proxy) );
			return resultList.ToArray();
		}
コード例 #59
0
ファイル: HTMLTableCell.cs プロジェクト: vnkolt/NetOffice
		/// <summary>
        /// returns all running MSHTML.HTMLTableCell objects from the running object table(ROT)
        /// </summary>
        /// <returns>an MSHTML.HTMLTableCell array</returns>
		public static NetOffice.MSHTMLApi.HTMLTableCell[] GetActiveInstances()
		{		
			NetRuntimeSystem.Collections.Generic.List<object> proxyList = NetOffice.RunningObjectTable.GetActiveProxiesFromROT("MSHTML","HTMLTableCell");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.HTMLTableCell> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.MSHTMLApi.HTMLTableCell>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.MSHTMLApi.HTMLTableCell(null, proxy) );
			return resultList.ToArray();
		}
コード例 #60
0
		/// <summary>
        /// Returns all running Access.SmartTagProperties objects from the environment/system
        /// </summary>
        /// <returns>an Access.SmartTagProperties array</returns>
		public static NetOffice.AccessApi.SmartTagProperties[] GetActiveInstances()
		{		
			IDisposableEnumeration proxyList = NetOffice.ProxyService.GetActiveInstances("Access","SmartTagProperties");
			NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi.SmartTagProperties> resultList = new NetRuntimeSystem.Collections.Generic.List<NetOffice.AccessApi.SmartTagProperties>();
			foreach(object proxy in proxyList)
				resultList.Add( new NetOffice.AccessApi.SmartTagProperties(null, proxy) );
			return resultList.ToArray();
		}