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
- TemplateKeyConverter.cs
- EntityContainerEntitySetDefiningQuery.cs
- HttpWebResponse.cs
- TokenizerHelper.cs
- IndicShape.cs
- mediaeventargs.cs
- SubclassTypeValidatorAttribute.cs
- UserControlBuildProvider.cs
- SchemaHelper.cs
- WindowsToolbarItemAsMenuItem.cs
- DocumentViewerBaseAutomationPeer.cs
- ToolStripTextBox.cs
- ResolveCompletedEventArgs.cs
- ObjectDataSourceDisposingEventArgs.cs
- TypeResolvingOptionsAttribute.cs
- Decoder.cs
- PanelDesigner.cs
- CodeMemberField.cs
- DeclarativeConditionsCollection.cs
- SpeakCompletedEventArgs.cs
- GridViewColumnCollection.cs
- DivideByZeroException.cs
- SettingsPropertyValueCollection.cs
- ValueChangedEventManager.cs
- PolyQuadraticBezierSegment.cs
- StyleBamlRecordReader.cs
- WaitHandleCannotBeOpenedException.cs
- OracleInfoMessageEventArgs.cs
- VirtualDirectoryMappingCollection.cs
- OleDbPermission.cs
- RoutedPropertyChangedEventArgs.cs
- TextEffectCollection.cs
- InProcStateClientManager.cs
- LinkLabelLinkClickedEvent.cs
- Keyboard.cs
- WhiteSpaceTrimStringConverter.cs
- _Semaphore.cs
- ConditionCollection.cs
- MediaElement.cs
- UIElement3D.cs
- ListViewDeleteEventArgs.cs
- ZipIOExtraFieldZip64Element.cs
- CalendarData.cs
- CustomSignedXml.cs
- SqlError.cs
- WebMethodAttribute.cs
- SchemaCollectionPreprocessor.cs
- FixUpCollection.cs
- PeerInputChannel.cs
- HttpDebugHandler.cs
- SemaphoreSecurity.cs
- UriSectionReader.cs
- RangeValidator.cs
- ColorConvertedBitmap.cs
- sqlcontext.cs
- RootBuilder.cs
- Triplet.cs
- ImageAttributes.cs
- graph.cs
- IisNotInstalledException.cs
- SelectionListComponentEditor.cs
- XmlBindingWorker.cs
- UnsafeNativeMethods.cs
- SafeSecurityHandles.cs
- QueryTask.cs
- Vars.cs
- xdrvalidator.cs
- ProcessThreadDesigner.cs
- FrameworkContentElement.cs
- MapPathBasedVirtualPathProvider.cs
- ValidationEventArgs.cs
- ImageListDesigner.cs
- MessageBuilder.cs
- BStrWrapper.cs
- DeviceSpecific.cs
- Win32.cs
- ExceptionHelpers.cs
- PrintDialog.cs
- ReadOnlyHierarchicalDataSource.cs
- __ConsoleStream.cs
- ModelUIElement3D.cs
- CompilationSection.cs
- PrintController.cs
- ReturnValue.cs
- XmlSerializerFactory.cs
- TimeoutTimer.cs
- WebPartEditVerb.cs
- StylusPointProperties.cs
- Brush.cs
- FormViewActionList.cs
- XamlTypeMapper.cs
- Logging.cs
- SafeNativeMethods.cs
- SqlDataSource.cs
- Rect3DValueSerializer.cs
- GridViewUpdatedEventArgs.cs
- LoginView.cs
- XPathNavigatorReader.cs
- EmptyImpersonationContext.cs
- XmlMapping.cs