⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 withclss.idl

📁 c#设计模式WithCla
💻 IDL
📖 第 1 页 / 共 5 页
字号:
	  dual,
	  hidden,
	  pointer_default(unique) 
  ]
	interface IParameter : IDispatch
	{
			  [propput, id(1), helpcontext(131737), helpstring("")]
			  HRESULT Type([in] BSTR Val);
			  [propget, id(1), helpcontext(131737), helpstring("")]
			  HRESULT Type([out, retval] BSTR * pVal);
			[propput, id(2), helpcontext(131737), helpstring("")]
			  HRESULT Name([in] BSTR Val);
			  [propget, id(2), helpcontext(131737), helpstring("")]
			  HRESULT Name([out, retval] BSTR * pVal);
			[propput, id(3), helpcontext(131737), helpstring("")]
			  HRESULT Default([in] BSTR Val);
			  [propget, id(3), helpcontext(131737), helpstring("")]
			  HRESULT Default([out, retval] BSTR * pVal);
			[propput, id(4), helpcontext(131737), helpstring("")]
			  HRESULT Direction([in] BSTR Val);
			  [propget, id(4), helpcontext(131737), helpstring("")]
			  HRESULT Direction([out, retval] BSTR * pVal);
			[propput, id(5), helpcontext(131737), helpstring("")]
			  HRESULT Description([in] BSTR Val);
			  [propget, id(5), helpcontext(131737), helpstring("")]
			  HRESULT Description([out, retval] BSTR * pVal);

	};

	//  Class information for Parameter

	[ uuid(AB2278A4-45B0-11D2-B89B-000000000000) ]
	coclass Parameter
	{
		[default] interface IParameter;
	};


	//  Primary dispatch interface for CParameterCollection
	
	[ uuid(6FAF89A1-25F3-11D0-9EB4-F02E03C10627), 
	  dual,
	  hidden,
	  pointer_default(unique) 
  ]
	interface IParameterCollection : IDispatch
	{
			[propget, id(1), helpcontext(131473), helpstring("The number of parameter items in the collection")]
			HRESULT Count([out, retval] long * pVal);
			[id(2), helpcontext(131737), helpstring("Adds a parameter item to the parameter collection")]
			HRESULT Add([in]BSTR aParameter);
 			[id(3), helpcontext(131737), propget, helpstring("Returns the current parameter item in the collection")]
			HRESULT Item([in]  short index, [out, retval]BSTR* pVal);
			[id(3), helpcontext(131737), propputref, helpstring("Sets the current parameter item in the collection")]
			HRESULT Item([in]short index, [in]BSTR newValue);
			[id(4), helpcontext(131737), propget, helpstring("Returns the parameter item type in the collection")]
			HRESULT ItemType([in]short index, [out, retval]BSTR *pVal);
			[id(4), helpcontext(131737), propputref, helpstring("Sets the parameter item type")]
		   HRESULT ItemType([in]short index, [in]BSTR newValue);
			[id(5), helpcontext(131737), propget, helpstring("Returns the parameter item name")]
			HRESULT ItemName([in]short index, [out, retval]BSTR *pVal);
			[id(5), helpcontext(131737), propputref, helpstring("Sets the parameter item name")]
			HRESULT ItemName([in]short index, [in]BSTR newValue);
			[id(6), helpcontext(131737), propget, helpstring("Returns the parameter item default value")]
			HRESULT ItemDefault([in]short index, [out, retval]BSTR *pVal);
			[id(6), helpcontext(131737), propputref, helpstring("Sets the parameter item default value")]
			HRESULT ItemDefault([in]short index, [in]BSTR newValue);
			[id(7), helpcontext(131737), propget, helpstring("Returns the parameter item direction")]
			HRESULT ItemDirection([in]short index, [out, retval]BSTR *pVal);
			[id(7), helpcontext(131737), propputref, helpstring("Sets the parameter item direction")]
			HRESULT ItemDirection([in]short index, [in]BSTR newValue);
			[id(8), helpcontext(131737), propget, helpstring("Returns the parameter item as an object")]
			HReSULT ItemObject([in]short index, [out, retval] IParameter ** pVal);
			[id(8), helpcontext(131737), propputref, helpstring("Sets the parameter item object")]
			HRESULT ItemObject([in]short index, [in]IParameter* newValue);
			[id(9), helpstring("Sets the index at the beginning parameter item in the collection")]
			HRESULT Restart();
			[id(10), helpstring("Returns true if the index is at the last parameter item in the collection")]
			HRESULT IsLast([out, retval] VARIANT_BOOL *pVal);
			[id(11), helpstring("Returns the next parameter item in the collection")]
			HRESULT GetNext([out, retval]IParameter **pVal);
			//}}AFX_ODL_METHOD
	};

	//  Class information for CParameterCollection

	[ uuid(6FAF89A2-25F3-11D0-9EB4-F02E03C10627) ]
	coclass Parameters
	{
		[default] interface IParameterCollection;
	};



	//  Primary dispatch interface for Attribute
	
	[ uuid(EF80FAF2-63D1-11D0-A42D-64B4E0000000), 
	  dual,
	  hidden,
	  pointer_default(unique) 
  ]
	interface IAttribute : IDispatch
	{

	  [propput, id(1), helpcontext(131740), helpstring("")]
	  HRESULT Type([in] BSTR Val);
	  [propget, id(1), helpcontext(131740), helpstring("")]
	  HRESULT Type([out, retval] BSTR * pVal);
	[propput, id(2), helpcontext(131740), helpstring("")]
	  HRESULT Name([in] BSTR Val);
	  [propget, id(2), helpcontext(131740), helpstring("")]
	  HRESULT Name([out, retval] BSTR * pVal);
	[propput, id(3), helpcontext(131740), helpstring("")]
	  HRESULT Length([in] BSTR Val);
	  [propget, id(3), helpcontext(131740), helpstring("")]
	  HRESULT Length([out, retval] BSTR * pVal);
	[propput, id(4), helpcontext(131740), helpstring("")]
	  HRESULT Description([in] BSTR Val);
	  [propget, id(4), helpcontext(131740), helpstring("")]
	  HRESULT Description([out, retval] BSTR * pVal);
	[propput, id(5), helpcontext(131740), helpstring("")]
	  HRESULT Visibility([in] BSTR Val);
	  [propget, id(5), helpcontext(131740), helpstring("")]
	  HRESULT Visibility([out, retval] BSTR * pVal);
	[propput, id(6), helpcontext(131740), helpstring("")]
	  HRESULT MaxValue([in] BSTR Val);
	  [propget, id(6), helpcontext(131740), helpstring("")]
	  HRESULT MaxValue([out, retval] BSTR * pVal);
	[propput, id(7), helpcontext(131740), helpstring("")]
	  HRESULT MinValue([in] BSTR Val);
	  [propget, id(7), helpcontext(131740), helpstring("")]
	  HRESULT MinValue([out, retval] BSTR * pVal);
	[propput, id(8), helpcontext(131740), helpstring("")]
	  HRESULT InitialValue([in] BSTR Val);
	  [propget, id(8), helpcontext(131740), helpstring("")]
	  HRESULT InitialValue([out, retval] BSTR * pVal);
	[propput, id(9), helpcontext(131740), helpstring("")]
	  HRESULT Constraint([in] BSTR Val);
	  [propget, id(9), helpcontext(131740), helpstring("")]
	  HRESULT Constraint([out, retval] BSTR * pVal);
	[propput, id(10), helpcontext(131740), helpstring("")]
	  HRESULT User1([in] BSTR Val);
	  [propget, id(10), helpcontext(131740), helpstring("")]
	  HRESULT User1([out, retval] BSTR * pVal);
	[propput, id(11), helpcontext(131740), helpstring("")]
	  HRESULT User2([in] BSTR Val);
	  [propget, id(11), helpcontext(131740), helpstring("")]
	  HRESULT User2([out, retval] BSTR * pVal);
	[propput, id(12), helpcontext(131740), helpstring("")]
	  HRESULT User3([in] BSTR Val);
	  [propget, id(12), helpcontext(131740), helpstring("")]
	  HRESULT User3([out, retval] BSTR * pVal);
	[propput, id(13), helpcontext(131740), helpstring("")]
	  HRESULT Stereotype([in] BSTR Val);
	  [propget, id(13), helpcontext(131740), helpstring("")]
	  HRESULT Stereotype([out, retval] BSTR * pVal);
	// Boolean Properties
	  [propput, id(14), helpcontext(131740), helpstring("")]
	  HRESULT IsStatic([in] VARIANT_BOOL Val);
	  [propget, id(14), helpcontext(131740), helpstring("")]
	  HRESULT IsStatic([out, retval] VARIANT_BOOL * pVal);
	[propput, id(15), helpcontext(131740), helpstring("")]
	  HRESULT IsConstant([in] VARIANT_BOOL Val);
	  [propget, id(15), helpcontext(131740), helpstring("")]
	  HRESULT IsConstant([out, retval] VARIANT_BOOL * pVal);
	[propput, id(16), helpcontext(131740), helpstring("")]
	  HRESULT IsIndexed([in] VARIANT_BOOL Val);
	  [propget, id(16), helpcontext(131740), helpstring("")]
	  HRESULT IsIndexed([out, retval] VARIANT_BOOL * pVal);
	[propput, id(17), helpcontext(131740), helpstring("")]
	  HRESULT IsUnique([in] VARIANT_BOOL Val);
	  [propget, id(17), helpcontext(131740), helpstring("")]
	  HRESULT IsUnique([out, retval] VARIANT_BOOL * pVal);
	[propput, id(18), helpcontext(131740), helpstring("")]
	  HRESULT IsNotNull([in] VARIANT_BOOL Val);
	  [propget, id(18), helpcontext(131740), helpstring("")]
	  HRESULT IsNotNull([out, retval] VARIANT_BOOL * pVal);
	[propput, id(19), helpcontext(131740), helpstring("")]
	  HRESULT IsPrimaryKey([in] VARIANT_BOOL Val);
	  [propget, id(19), helpcontext(131740), helpstring("")]
	  HRESULT IsPrimaryKey([out, retval] VARIANT_BOOL * pVal);
	[propput, id(20), helpcontext(131740), helpstring("")]
	  HRESULT IsForeignKey([in] VARIANT_BOOL Val);
	  [propget, id(20), helpcontext(131740), helpstring("")]
	  HRESULT IsForeignKey([out, retval] VARIANT_BOOL * pVal);
	[propput, id(21), helpcontext(131740), helpstring("")]
	  HRESULT IsArray([in] VARIANT_BOOL Val);
	  [propget, id(21), helpcontext(131740), helpstring("")]
	  HRESULT IsArray([out, retval] VARIANT_BOOL * pVal);
	[propput, id(22), helpcontext(131740), helpstring("")]
	  HRESULT IsReadProperty([in] VARIANT_BOOL Val);
	  [propget, id(22), helpcontext(131740), helpstring("")]
	  HRESULT IsReadProperty([out, retval] VARIANT_BOOL * pVal);
	[propput, id(23), helpcontext(131740), helpstring("")]
	  HRESULT IsWriteProperty([in] VARIANT_BOOL Val);
	  [propget, id(23), helpcontext(131740), helpstring("")]
	  HRESULT IsWriteProperty([out, retval] VARIANT_BOOL * pVal);
	[propput, id(24), helpcontext(131740), helpstring("")]
	  HRESULT IsFinal([in] VARIANT_BOOL Val);
	  [propget, id(24), helpcontext(131740), helpstring("")]
	  HRESULT IsFinal([out, retval] VARIANT_BOOL * pVal);
	[propput, id(25), helpcontext(131740), helpstring("")]
	  HRESULT IsReadOnly([in] VARIANT_BOOL Val);
	  [propget, id(25), helpcontext(131740), helpstring("")]
	  HRESULT IsReadOnly([out, retval] VARIANT_BOOL * pVal);
	  [propput, id(26), helpcontext(131740), helpstring("")]
	  HRESULT Id([in] int Val);
	  [propget, id(26), helpcontext(131740), helpstring("")]
	  HRESULT Id([out, retval] int* pVal);
	[propput, id(27), helpcontext(131740), helpstring("")]
	  HRESULT IsDerived([in] VARIANT_BOOL Val);
	  [propget, id(27), helpcontext(131740), helpstring("")]
	  HRESULT IsDerived([out, retval] VARIANT_BOOL * pVal);
	[propput, id(28), helpcontext(131740), helpstring("")]
	  HRESULT PropertyName([in] BSTR Val);
	  [propget, id(28), helpcontext(131740), helpstring("")]
	  HRESULT PropertyName([out, retval] BSTR * pVal);
	[propput, id(29), helpcontext(131740), helpstring("")]
	  HRESULT PropertyType([in] BSTR Val);
	  [propget, id(29), helpcontext(131740), helpstring("")]
	  HRESULT PropertyType([out, retval] BSTR * pVal);
	[propput, id(30), helpcontext(131740), helpstring("")]
	  HRESULT PropertyIndexDefault([in] BSTR Val);
	  [propget, id(30), helpcontext(131740), helpstring("")]
	  HRESULT PropertyIndexDefault([out, retval] BSTR * pVal);
	[propput, id(31), helpcontext(131740), helpstring("")]
	  HRESULT PropertyIndexName([in] BSTR Val);
	  [propget, id(31), helpcontext(131740), helpstring("")]
	  HRESULT PropertyIndexName([out, retval] BSTR * pVal);
	[propput, id(32), helpcontext(131740), helpstring("")]
	  HRESULT PropertyIndexType([in] BSTR Val);
	  [propget, id(32), helpcontext(131740), helpstring("")]
	  HRESULT PropertyIndexType([out, retval] BSTR * pVal);
	[propput, id(33), helpcontext(131740), helpstring("")]
	  HRESULT PropertyDefault([in] BSTR Val);
	  [propget, id(33), helpcontext(131740), helpstring("")]
	  HRESULT PropertyDefault([out, retval] BSTR * pVal);
	[propput, id(34), helpcontext(131740), helpstring("")]
	  HRESULT ReadPropertyMethod([in] BSTR Val);
	  [propget, id(34), helpcontext(131740), helpstring("")]
	  HRESULT ReadPropertyMethod([out, retval] BSTR * pVal);
	[propput, id(35), helpcontext(131740), helpstring("")]
	  HRESULT ReadPropertyCode([in] BSTR Val);
	  [propget, id(35), helpcontext(131740), helpstring("")]
	  HRESULT ReadPropertyCode([out, retval] BSTR * pVal);
	[propput, id(36), helpcontext(131740), helpstring("")]
	  HRESULT WritePropertyMethod([in] BSTR Val);
	  [propget, id(36), helpcontext(131740), helpstring("")]
	  HRESULT WritePropertyMethod([out, retval] BSTR * pVal);
	[propput, id(37), helpcontext(131740), helpstring("")]
	  HRESULT WritePropertyCode([in] BSTR Val);
	  [propget, id(37), helpcontext(131740), helpstring("")]
	  HRESULT WritePropertyCode([out, retval] BSTR * pVal);
	[propput, id(38), helpcontext(131740), helpstring("")]
	  HRESULT IsTransient([in] VARIANT_BOOL Val);
	  [propget, id(38), helpcontext(131740), helpstring("")]
	  HRESULT IsTransient([out, retval] VARIANT_BOOL * pVal);
	[propput, id(39), helpcontext(131740), helpstring("")]
	  HRESULT IsDisplayed([in] VARIANT_BOOL Val);
	  [propget, id(39), helpcontext(131740), helpstring("")]
	  HRESULT IsDisplayed([out, retval] VARIANT_BOOL * pVal);
 	  [propput, id(40), helpcontext(131740), helpstring("")]
	  HRESULT OldName([in] BSTR Val);
	  [propget, id(40), helpcontext(131740), helpstring("")]
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -