Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / ComponentConverter.cs / 1 / 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. ///// 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
- NativeStructs.cs
- MenuEventArgs.cs
- ClipboardProcessor.cs
- HostSecurityManager.cs
- TripleDESCryptoServiceProvider.cs
- PrivateFontCollection.cs
- AsyncPostBackTrigger.cs
- SafeLibraryHandle.cs
- DataGridViewCellStyleConverter.cs
- SqlDeflator.cs
- DriveNotFoundException.cs
- Blend.cs
- NextPreviousPagerField.cs
- IndicCharClassifier.cs
- Int16Storage.cs
- ManagementQuery.cs
- TextBounds.cs
- ExtendedPropertyInfo.cs
- InkSerializer.cs
- RegexTree.cs
- HttpStaticObjectsCollectionWrapper.cs
- BindingExpressionUncommonField.cs
- SocketCache.cs
- thaishape.cs
- HMACSHA256.cs
- ToolStripArrowRenderEventArgs.cs
- Switch.cs
- metrodevice.cs
- TransformerConfigurationWizardBase.cs
- XLinq.cs
- ListViewUpdatedEventArgs.cs
- EventWaitHandleSecurity.cs
- HtmlWindow.cs
- KnownAssemblyEntry.cs
- LinkedResource.cs
- SqlLiftWhereClauses.cs
- Stroke.cs
- WaitHandle.cs
- WorkerRequest.cs
- AnnotationStore.cs
- RecipientIdentity.cs
- ServiceChannel.cs
- CurrencyManager.cs
- AtlasWeb.Designer.cs
- ConnectorSelectionGlyph.cs
- NumberFormatInfo.cs
- ProviderIncompatibleException.cs
- XmlSchemaProviderAttribute.cs
- TypedElement.cs
- SAPIEngineTypes.cs
- RefreshResponseInfo.cs
- ParameterCollection.cs
- CustomErrorCollection.cs
- StringBuilder.cs
- OutputCacheModule.cs
- StyleBamlTreeBuilder.cs
- AutomationPropertyInfo.cs
- RolePrincipal.cs
- ObjectTypeMapping.cs
- Configuration.cs
- NGCSerializerAsync.cs
- BuildManagerHost.cs
- BaseTemplateBuildProvider.cs
- DeferredSelectedIndexReference.cs
- ReadOnlyHierarchicalDataSourceView.cs
- AdCreatedEventArgs.cs
- ResourceBinder.cs
- TabControlAutomationPeer.cs
- BevelBitmapEffect.cs
- Figure.cs
- AccessDataSourceWizardForm.cs
- SharedUtils.cs
- xmlformatgeneratorstatics.cs
- XmlEncoding.cs
- SqlInternalConnection.cs
- ToolStripLabel.cs
- CharacterHit.cs
- BindingExpressionBase.cs
- isolationinterop.cs
- DocumentPageView.cs
- PageThemeParser.cs
- ActivityTypeResolver.xaml.cs
- ToolStripItemBehavior.cs
- GridViewRow.cs
- SimpleExpression.cs
- DispatcherExceptionEventArgs.cs
- OdbcEnvironmentHandle.cs
- IndexedEnumerable.cs
- SolidBrush.cs
- KeysConverter.cs
- StateChangeEvent.cs
- __Error.cs
- DBCSCodePageEncoding.cs
- HashSetEqualityComparer.cs
- TextReader.cs
- MatrixTransform3D.cs
- StyleCollection.cs
- CodeBlockBuilder.cs
- CurrentChangingEventManager.cs
- DesignerHost.cs