Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / EventDescriptor.cs / 1 / EventDescriptor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] public abstract class EventDescriptor : MemberDescriptor { ////// Provides a description /// of an event. /// ////// protected EventDescriptor(string name, Attribute[] attrs) : base(name, attrs) { } ////// Initializes a new instance of the ///class with the /// specified name and attribute /// array. /// /// protected EventDescriptor(MemberDescriptor descr) : base(descr) { } ////// Initializes a new instance of the ///class with the name and attributes in /// the specified /// . /// /// protected EventDescriptor(MemberDescriptor descr, Attribute[] attrs) : base(descr, attrs) { } ////// Initializes a new instance of the ///class with /// the name in the specified and the /// attributes in both the and the /// array. /// /// public abstract Type ComponentType { get; } ////// When overridden in a derived /// class, /// gets the type of the component this event is bound to. /// ////// public abstract Type EventType { get; } ////// When overridden in a derived /// class, gets the type of delegate for the event. /// ////// public abstract bool IsMulticast { get; } ////// When overridden in a derived class, gets a value /// indicating whether the event delegate is a multicast /// delegate. /// ////// public abstract void AddEventHandler(object component, Delegate value); ////// When overridden in /// a derived class, /// binds the event to the component. /// ////// public abstract void RemoveEventHandler(object component, Delegate value); } }/// When /// overridden /// in a derived class, unbinds the delegate from the /// component /// so that the delegate will no /// longer receive events from the component. /// ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModifyActivitiesPropertyDescriptor.cs
- Console.cs
- AttributeProviderAttribute.cs
- ContractMethodInfo.cs
- DesignDataSource.cs
- WebHttpSecurity.cs
- XmlnsCompatibleWithAttribute.cs
- CookielessData.cs
- SortKey.cs
- FunctionParameter.cs
- HierarchicalDataSourceDesigner.cs
- SystemParameters.cs
- ListItemConverter.cs
- PaginationProgressEventArgs.cs
- DataGridLinkButton.cs
- TextServicesProperty.cs
- ActivityTrace.cs
- RuleRefElement.cs
- KeyPressEvent.cs
- CSharpCodeProvider.cs
- StrongNameUtility.cs
- CleanUpVirtualizedItemEventArgs.cs
- MessageTransmitTraceRecord.cs
- SourceCollection.cs
- ICspAsymmetricAlgorithm.cs
- CaseExpr.cs
- ListBoxItem.cs
- DocumentGridContextMenu.cs
- FileReservationCollection.cs
- RegexMatch.cs
- DataControlButton.cs
- DataSourceHelper.cs
- ChannelManager.cs
- DataGridViewButtonCell.cs
- DesignTimeVisibleAttribute.cs
- StyleCollection.cs
- KeyedCollection.cs
- TextSelectionProcessor.cs
- Point.cs
- CodeTypeOfExpression.cs
- IntranetCredentialPolicy.cs
- CngProperty.cs
- TypeSystemProvider.cs
- BooleanExpr.cs
- ExternalFile.cs
- base64Transforms.cs
- InvalidWMPVersionException.cs
- Constraint.cs
- SQLString.cs
- CompressEmulationStream.cs
- AspNetHostingPermission.cs
- CorrelationActionMessageFilter.cs
- MSAAEventDispatcher.cs
- JobDuplex.cs
- TypeDelegator.cs
- ReflectionTypeLoadException.cs
- OrthographicCamera.cs
- XhtmlMobileTextWriter.cs
- XPathAncestorQuery.cs
- ObjRef.cs
- PeerResolverBindingElement.cs
- FixedSOMLineRanges.cs
- Command.cs
- CodeNamespaceCollection.cs
- ConditionalExpression.cs
- BlockCollection.cs
- ButtonChrome.cs
- MaskedTextBoxDesigner.cs
- ScriptComponentDescriptor.cs
- QuotedPrintableStream.cs
- StorageSetMapping.cs
- COMException.cs
- EntityDataSourceContainerNameConverter.cs
- ScriptControl.cs
- WindowsIPAddress.cs
- FormViewDeletedEventArgs.cs
- Opcode.cs
- StyleSheetDesigner.cs
- Property.cs
- AnonymousIdentificationSection.cs
- ConfigXmlCDataSection.cs
- ExpressionEditor.cs
- JavascriptXmlWriterWrapper.cs
- RuntimeHelpers.cs
- ToolbarAUtomationPeer.cs
- PersonalizablePropertyEntry.cs
- ParentUndoUnit.cs
- Operand.cs
- WebPartsPersonalization.cs
- HttpChannelFactory.cs
- StringPropertyBuilder.cs
- GraphicsPath.cs
- ListBoxItemAutomationPeer.cs
- PropertyCollection.cs
- ApplicationException.cs
- BinaryCommonClasses.cs
- ToolStripDropDownClosedEventArgs.cs
- KoreanLunisolarCalendar.cs
- Int32CollectionValueSerializer.cs
- _ScatterGatherBuffers.cs