Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ComponentConverter.cs / 1305376 / ComponentConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using Microsoft.Win32; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Runtime.Serialization.Formatters; using System.Runtime.Remoting; using System.Runtime.InteropServices; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class ComponentConverter : ReferenceConverter { ///Provides a type converter to convert component objects to and /// from various other representations. ////// public ComponentConverter(Type type) : base(type) { } ////// Initializes a new instance of the ///class. /// /// /// public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) { return TypeDescriptor.GetProperties(value, attributes); } ///Gets a collection of properties for the type of component /// specified by the value /// parameter. ////// /// public override bool GetPropertiesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a value indicating whether this object supports properties using the /// specified context. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProcessModelInfo.cs
- OrderablePartitioner.cs
- SqlConnectionStringBuilder.cs
- WindowHelperService.cs
- unsafenativemethodstextservices.cs
- ISCIIEncoding.cs
- FixedPage.cs
- AndCondition.cs
- PageContent.cs
- DataGridViewButtonCell.cs
- InvokeWebServiceDesigner.cs
- SoapIgnoreAttribute.cs
- Ref.cs
- DataRelationPropertyDescriptor.cs
- FatalException.cs
- ImageDesigner.cs
- SocketAddress.cs
- LinkedList.cs
- _ChunkParse.cs
- ForwardPositionQuery.cs
- FileSecurity.cs
- DataColumnSelectionConverter.cs
- SynchronizedInputHelper.cs
- SystemTcpConnection.cs
- StorageTypeMapping.cs
- PageThemeBuildProvider.cs
- Underline.cs
- RectangleGeometry.cs
- DefaultPrintController.cs
- PanelStyle.cs
- PersistenceTask.cs
- DbConnectionHelper.cs
- CachedFontFace.cs
- DateTimeStorage.cs
- XPathDocumentIterator.cs
- MultiAsyncResult.cs
- ImageList.cs
- PlatformCulture.cs
- SHA384Managed.cs
- embossbitmapeffect.cs
- HtmlToClrEventProxy.cs
- PenLineCapValidation.cs
- Descriptor.cs
- WebPartConnectionCollection.cs
- PtsHelper.cs
- XmlTextEncoder.cs
- ListSortDescriptionCollection.cs
- MD5.cs
- StatusBarPanelClickEvent.cs
- ListControlDesigner.cs
- WebPartHeaderCloseVerb.cs
- TemplateInstanceAttribute.cs
- FileLoadException.cs
- SelectionWordBreaker.cs
- PathFigure.cs
- CalendarButtonAutomationPeer.cs
- ImageFormat.cs
- PrintDialogException.cs
- OdbcCommand.cs
- Size.cs
- MetadataExchangeBindings.cs
- StylusShape.cs
- TextOnlyOutput.cs
- GridViewDeletedEventArgs.cs
- RoleServiceManager.cs
- Aggregates.cs
- ComAwareEventInfo.cs
- ActivityExecutorDelegateInfo.cs
- bidPrivateBase.cs
- Helpers.cs
- XmlAttributeCache.cs
- LinearKeyFrames.cs
- TextRenderer.cs
- WindowsToolbarItemAsMenuItem.cs
- OdbcException.cs
- MouseGestureValueSerializer.cs
- SrgsDocumentParser.cs
- ListControlDataBindingHandler.cs
- DataStreamFromComStream.cs
- ComponentEvent.cs
- WizardStepCollectionEditor.cs
- XmlSchemaAttributeGroupRef.cs
- Substitution.cs
- Tablet.cs
- XmlDataSourceView.cs
- DesignerView.Commands.cs
- PlatformCulture.cs
- SelectedGridItemChangedEvent.cs
- TreeViewDesigner.cs
- BitmapData.cs
- SafeRightsManagementHandle.cs
- FileSystemInfo.cs
- CapabilitiesState.cs
- CacheEntry.cs
- DataServiceQueryProvider.cs
- VirtualPathUtility.cs
- SiteMembershipCondition.cs
- ImageMetadata.cs
- xmlfixedPageInfo.cs
- CapabilitiesUse.cs