• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Generic.List类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中NetRuntimeSystem.Collections.Generic.List的典型用法代码示例。如果您正苦于以下问题:C# NetRuntimeSystem.Collections.Generic.List类的具体用法?C# NetRuntimeSystem.Collections.Generic.List怎么用?C# NetRuntimeSystem.Collections.Generic.List使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



NetRuntimeSystem.Collections.Generic.List类属于命名空间,在下文中一共展示了NetRuntimeSystem.Collections.Generic.List类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:SmartTagProperties.cs


示例2: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:Accounts.cs


示例3: GetActiveInstances

		/// <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();
		}
开发者ID:vnkolt,项目名称:NetOffice,代码行数:12,代码来源:Layers.cs


示例4: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:HTMLCheckbox.cs


示例5: GetActiveInstances

		/// <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();
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:12,代码来源:Report.cs


示例6: GetActiveInstances

		/// <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();
		}
开发者ID:vnkolt,项目名称:NetOffice,代码行数:12,代码来源:CodeModule.cs


示例7: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:CustomTaskPane.cs


示例8: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:NavigationControl.cs


示例9: GetActiveInstances

		/// <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();
		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:12,代码来源:Slide.cs


示例10: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:_ToggleButtonInOption.cs


示例11: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:Group.cs


示例12: GetActiveInstances

		/// <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();
		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:12,代码来源:FieldListControl.cs


示例13: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:ParagraphFormat.cs


示例14: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:ThreadDialogProcParam.cs


示例15: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:Component.cs


示例16: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:SenderInAddressListRuleCondition.cs


示例17: GetActiveInstances

		/// <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();
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:12,代码来源:TextBox.cs


示例18: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:HTMLDocumentCompatibleInfoCollection.cs


示例19: GetActiveInstances

		/// <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();
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:12,代码来源:LetterContent.cs


示例20: GetActiveInstances

		/// <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();
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:12,代码来源:Toolbar.cs



注:本文中的NetRuntimeSystem.Collections.Generic.List类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# NetSocket类代码示例发布时间:2022-05-24
下一篇:
C# NetOffice类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap