本文整理汇总了C#中NetOffice.Core类的典型用法代码示例。如果您正苦于以下问题:C# Core类的具体用法?C# Core怎么用?C# Core使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Core类属于NetOffice命名空间,在下文中一共展示了Core类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: COMObject
public COMObject(Core factory, COMObject replacedObject)
{
// copy current factory info or set default
if (null == factory)
factory = Core.Default;
Factory = factory;
// copy proxy
_underlyingObject = replacedObject.UnderlyingObject;
_parentObject = replacedObject.ParentObject;
_instanceType = replacedObject.InstanceType;
// copy childs
foreach (COMObject item in replacedObject.ListChildObjects)
AddChildObject(item);
// remove old object from parent chain
if (!Object.ReferenceEquals(replacedObject.ParentObject, null))
{
COMObject parentObject = replacedObject.ParentObject;
parentObject.RemoveChildObject(replacedObject);
// add himself as child to parent object
parentObject.AddChildObject(this);
}
Factory.RemoveObjectFromList(replacedObject);
Factory.AddObjectToList(this);
}
示例2: IChartCategory
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public IChartCategory(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例3: TextInput
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public TextInput(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例4: CurrentAppDomain
/// <summary>
/// Creates an instance of the class
/// </summary>
/// <param name="owner">owner core</param>
internal CurrentAppDomain(Core owner)
{
if (null == owner)
throw new ArgumentNullException("owner");
Owner = owner;
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);
}
示例5: IMarkupPointer2
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public IMarkupPointer2(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例6: IHTMLDocument5
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public IHTMLDocument5(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例7: IFormatColor
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public IFormatColor(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例8: PivotGroupAxis
public PivotGroupAxis(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
{
}
示例9: Accounts
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public Accounts(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例10: OutlookBarPane
public OutlookBarPane(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
{
}
示例11: DispHTCDescBehavior
public DispHTCDescBehavior(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
{
}
示例12: SlideShowView
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public SlideShowView(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例13: PublishObject
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public PublishObject(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例14: IHTMLFormElement2
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public IHTMLFormElement2(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
示例15: IWHTMLPassword
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public IWHTMLPassword(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}