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
- HashMembershipCondition.cs
- EndpointNotFoundException.cs
- Tablet.cs
- LocalValueEnumerator.cs
- AvTraceDetails.cs
- CollectionViewGroup.cs
- AstTree.cs
- DecimalConstantAttribute.cs
- OnOperation.cs
- StdValidatorsAndConverters.cs
- DataSpaceManager.cs
- RelatedView.cs
- DetailsViewRowCollection.cs
- ObsoleteAttribute.cs
- XmlSchemaValidationException.cs
- SqlCacheDependency.cs
- DataGridViewDataConnection.cs
- QilBinary.cs
- BamlRecords.cs
- MbpInfo.cs
- _UncName.cs
- Geometry3D.cs
- HttpListenerContext.cs
- DataSourceCacheDurationConverter.cs
- WindowsListViewItemCheckBox.cs
- FileIOPermission.cs
- IBuiltInEvidence.cs
- KoreanLunisolarCalendar.cs
- Int16Converter.cs
- DesignOnlyAttribute.cs
- XslCompiledTransform.cs
- TraversalRequest.cs
- UserNamePasswordServiceCredential.cs
- GridView.cs
- CustomAttribute.cs
- FocusTracker.cs
- UITypeEditor.cs
- Argument.cs
- Pointer.cs
- TextEvent.cs
- Formatter.cs
- RuleRefElement.cs
- WindowsNonControl.cs
- CodeNamespaceImportCollection.cs
- WebControlAdapter.cs
- ObjectMaterializedEventArgs.cs
- DataException.cs
- EllipseGeometry.cs
- DataSetMappper.cs
- Image.cs
- EventListenerClientSide.cs
- LineVisual.cs
- CryptoKeySecurity.cs
- MetadataReference.cs
- IndexedEnumerable.cs
- DbConnectionPoolIdentity.cs
- ToolStripOverflowButton.cs
- SiblingIterators.cs
- TableMethodGenerator.cs
- UnsignedPublishLicense.cs
- LoginNameDesigner.cs
- SafeBitVector32.cs
- XmlToDatasetMap.cs
- TextReader.cs
- XmlSchemaCollection.cs
- OleDbException.cs
- PenLineJoinValidation.cs
- TypeListConverter.cs
- ListBoxItemWrapperAutomationPeer.cs
- ActivityExecutionContext.cs
- CodeBlockBuilder.cs
- MethodBuilder.cs
- InlineCollection.cs
- MetadataItemSerializer.cs
- SystemTcpStatistics.cs
- DeferredElementTreeState.cs
- Timer.cs
- CloudCollection.cs
- ProxyWebPartManager.cs
- ViewStateException.cs
- AvtEvent.cs
- OledbConnectionStringbuilder.cs
- ObjectItemLoadingSessionData.cs
- PointAnimationUsingPath.cs
- ServiceContractGenerationContext.cs
- LoadedOrUnloadedOperation.cs
- SessionPageStateSection.cs
- UIAgentCrashedException.cs
- SelectiveScrollingGrid.cs
- XsdCachingReader.cs
- UInt64.cs
- ObjectDataSourceMethodEventArgs.cs
- pingexception.cs
- SQLInt64.cs
- FastPropertyAccessor.cs
- TcpSocketManager.cs
- ActivityInterfaces.cs
- HandledEventArgs.cs
- BindingContext.cs
- TextEmbeddedObject.cs