本文整理汇总了C#中NetRuntimeSystem.Collections.Generic.List.ToArray方法的典型用法代码示例。如果您正苦于以下问题:C# NetRuntimeSystem.Collections.Generic.List.ToArray方法的具体用法?C# NetRuntimeSystem.Collections.Generic.List.ToArray怎么用?C# NetRuntimeSystem.Collections.Generic.List.ToArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NetRuntimeSystem.Collections.Generic.List
的用法示例。
在下文中一共展示了NetRuntimeSystem.Collections.Generic.List.ToArray方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}