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
- IPAddressCollection.cs
- XAMLParseException.cs
- FacetValues.cs
- SizeF.cs
- RankException.cs
- TempEnvironment.cs
- PointLightBase.cs
- TdsParameterSetter.cs
- FixedLineResult.cs
- coordinatorfactory.cs
- StaticDataManager.cs
- ParsedRoute.cs
- ArrayConverter.cs
- OciEnlistContext.cs
- PersonalizationDictionary.cs
- Timeline.cs
- MultiTrigger.cs
- IsolatedStorageFile.cs
- ReceiveSecurityHeader.cs
- ThreadAbortException.cs
- StrongNameIdentityPermission.cs
- LabelDesigner.cs
- FigureParagraph.cs
- InternalSafeNativeMethods.cs
- SqlDataSourceEnumerator.cs
- RegexNode.cs
- WorkerRequest.cs
- ScriptingScriptResourceHandlerSection.cs
- TextEditorDragDrop.cs
- ScriptManager.cs
- TiffBitmapEncoder.cs
- FontFaceLayoutInfo.cs
- AuthorizationRuleCollection.cs
- UIElementParaClient.cs
- Permission.cs
- WSSecureConversation.cs
- PackageStore.cs
- ScriptMethodAttribute.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DataBoundControl.cs
- FigureHelper.cs
- Walker.cs
- ReadOnlyMetadataCollection.cs
- TemplateBuilder.cs
- CroppedBitmap.cs
- HostedTransportConfigurationManager.cs
- Application.cs
- AppDomainProtocolHandler.cs
- CodeAttributeDeclaration.cs
- MsmqHostedTransportConfiguration.cs
- PropertyDescriptors.cs
- ElementsClipboardData.cs
- RequestCachingSection.cs
- GuidelineSet.cs
- DelayedRegex.cs
- UntrustedRecipientException.cs
- InputBinder.cs
- errorpatternmatcher.cs
- ImageDesigner.cs
- AsyncPostBackErrorEventArgs.cs
- ReflectTypeDescriptionProvider.cs
- ObjectListItemCollection.cs
- LicenseException.cs
- InvalidDataException.cs
- NavigationExpr.cs
- LocatorPartList.cs
- UnsafeNativeMethods.cs
- HierarchicalDataBoundControl.cs
- SelectedCellsChangedEventArgs.cs
- Clipboard.cs
- CriticalExceptions.cs
- NumberFormatter.cs
- FrameworkElement.cs
- Proxy.cs
- ComAdminInterfaces.cs
- KeyInterop.cs
- MetaTableHelper.cs
- PermissionListSet.cs
- StopStoryboard.cs
- ContentHostHelper.cs
- ArrayList.cs
- FlagsAttribute.cs
- DataServiceQuery.cs
- XDeferredAxisSource.cs
- ArcSegment.cs
- FontFamily.cs
- PlatformNotSupportedException.cs
- Accessible.cs
- IndependentlyAnimatedPropertyMetadata.cs
- IndexedString.cs
- UserControlCodeDomTreeGenerator.cs
- PackUriHelper.cs
- Subtree.cs
- HScrollProperties.cs
- COAUTHIDENTITY.cs
- CallbackValidator.cs
- UserValidatedEventArgs.cs
- _ShellExpression.cs
- TabControl.cs
- DnsPermission.cs