當前位置: 首頁>>代碼示例>>C#>>正文


C# NetOffice.Core類代碼示例

本文整理匯總了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);
        }
開發者ID:netintellect,項目名稱:NetOffice,代碼行數:29,代碼來源:COMObject.cs

示例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)
		{
			
		}
開發者ID:swatt6400,項目名稱:NetOffice,代碼行數:7,代碼來源:IChartCategory.cs

示例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)
		{
			
		}
開發者ID:netoffice,項目名稱:NetOffice,代碼行數:7,代碼來源:TextInput.cs

示例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);
 }
開發者ID:netoffice,項目名稱:NetOffice,代碼行數:11,代碼來源:CurrentAppDomain.cs

示例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)
		{
			
		}
開發者ID:netintellect,項目名稱:NetOffice,代碼行數:7,代碼來源:IMarkupPointer2.cs

示例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)
		{
			
		}
開發者ID:swatt6400,項目名稱:NetOffice,代碼行數:7,代碼來源:IHTMLDocument5.cs

示例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)
		{
			
		}
開發者ID:swatt6400,項目名稱:NetOffice,代碼行數:7,代碼來源:IFormatColor.cs

示例8: PivotGroupAxis

		public PivotGroupAxis(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
		{

		}
開發者ID:netintellect,項目名稱:NetOffice,代碼行數:4,代碼來源:PivotGroupAxis.cs

示例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)
		{
			
		}
開發者ID:netoffice,項目名稱:NetOffice,代碼行數:7,代碼來源:Accounts.cs

示例10: OutlookBarPane

		public OutlookBarPane(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
		{
			
		}
開發者ID:netintellect,項目名稱:NetOffice,代碼行數:4,代碼來源:OutlookBarPane.cs

示例11: DispHTCDescBehavior

		public DispHTCDescBehavior(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
		{

		}
開發者ID:netintellect,項目名稱:NetOffice,代碼行數:4,代碼來源:DispHTCDescBehavior.cs

示例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)
		{
			
		}
開發者ID:netoffice,項目名稱:NetOffice,代碼行數:7,代碼來源:SlideShowView.cs

示例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)
		{
			
		}
開發者ID:netoffice,項目名稱:NetOffice,代碼行數:7,代碼來源:PublishObject.cs

示例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)
		{
			
		}
開發者ID:netintellect,項目名稱:NetOffice,代碼行數:7,代碼來源:IHTMLFormElement2.cs

示例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)
		{
			
		}
開發者ID:swatt6400,項目名稱:NetOffice,代碼行數:7,代碼來源:IWHTMLPassword.cs


注:本文中的NetOffice.Core類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。