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
- SQLInt32.cs
- DirectoryRootQuery.cs
- IfAction.cs
- InstancePersistenceCommand.cs
- HttpModuleAction.cs
- MouseDevice.cs
- ToolBarButtonClickEvent.cs
- Int32Converter.cs
- AvtEvent.cs
- ArrayList.cs
- SystemIPInterfaceStatistics.cs
- StrokeDescriptor.cs
- Separator.cs
- TraceSection.cs
- CqlWriter.cs
- WebPartMovingEventArgs.cs
- WebChannelFactory.cs
- LazyTextWriterCreator.cs
- PathGeometry.cs
- FormViewPageEventArgs.cs
- ToolStripGrip.cs
- xmlglyphRunInfo.cs
- ModelChangedEventArgsImpl.cs
- TextFormatterContext.cs
- HttpFileCollectionWrapper.cs
- TransformCryptoHandle.cs
- AssemblyAttributesGoHere.cs
- DbParameterCollectionHelper.cs
- RightsManagementEncryptionTransform.cs
- EnumDataContract.cs
- ControlValuePropertyAttribute.cs
- AppliedDeviceFiltersEditor.cs
- SmtpDigestAuthenticationModule.cs
- RuleDefinitions.cs
- SafeEventLogWriteHandle.cs
- ExpressionBinding.cs
- sitestring.cs
- LowerCaseStringConverter.cs
- IdentityNotMappedException.cs
- documentsequencetextview.cs
- ContentHostHelper.cs
- SqlProviderServices.cs
- TimeEnumHelper.cs
- BulletedListDesigner.cs
- ListenerConnectionModeReader.cs
- GenericTypeParameterConverter.cs
- autovalidator.cs
- DuplicateDetector.cs
- invalidudtexception.cs
- AmbiguousMatchException.cs
- SelectiveScrollingGrid.cs
- TargetPerspective.cs
- TextDecoration.cs
- Transform3DCollection.cs
- OutputCacheProfile.cs
- JsonQNameDataContract.cs
- IIS7UserPrincipal.cs
- PathFigureCollectionConverter.cs
- WindowsGraphics2.cs
- SoapAttributeOverrides.cs
- Behavior.cs
- PartialClassGenerationTask.cs
- SchemaImporterExtensionsSection.cs
- TableLayoutSettings.cs
- InsufficientMemoryException.cs
- ColumnResult.cs
- EpmTargetPathSegment.cs
- ListArgumentProvider.cs
- DateTime.cs
- RuntimeVariablesExpression.cs
- InheritanceRules.cs
- DeleteHelper.cs
- Utils.cs
- RegexWorker.cs
- ControlIdConverter.cs
- loginstatus.cs
- TcpDuplicateContext.cs
- NodeLabelEditEvent.cs
- RewritingValidator.cs
- ListDesigner.cs
- CodeVariableDeclarationStatement.cs
- OpenTypeLayout.cs
- PointCollection.cs
- FontStretchConverter.cs
- WebControlAdapter.cs
- TripleDESCryptoServiceProvider.cs
- SerializationFieldInfo.cs
- ExpressionWriter.cs
- InkCanvasAutomationPeer.cs
- MDIControlStrip.cs
- RsaSecurityTokenAuthenticator.cs
- StorageFunctionMapping.cs
- SchemaElementLookUpTable.cs
- NativeDirectoryServicesQueryAPIs.cs
- SingleConverter.cs
- DecoderBestFitFallback.cs
- AnnotationStore.cs
- XmlEncodedRawTextWriter.cs
- SafeMILHandle.cs
- ListCollectionView.cs