Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }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
- LocatorManager.cs
- ConfigurationLockCollection.cs
- AnnotationComponentManager.cs
- ListDictionaryInternal.cs
- HtmlTableRowCollection.cs
- IteratorDescriptor.cs
- IPEndPoint.cs
- DataRecordInfo.cs
- Pen.cs
- SimpleLine.cs
- DataServiceRequest.cs
- AnonymousIdentificationSection.cs
- ActionFrame.cs
- EntityParameter.cs
- WindowsSysHeader.cs
- UnknownBitmapEncoder.cs
- ServiceOperationWrapper.cs
- UrlMappingsSection.cs
- FormsAuthenticationUserCollection.cs
- WebPageTraceListener.cs
- WebUtil.cs
- DataGridViewCellValueEventArgs.cs
- CustomActivityDesigner.cs
- HttpFileCollection.cs
- ArglessEventHandlerProxy.cs
- DisplayInformation.cs
- SHA512.cs
- RepeatInfo.cs
- SemanticBasicElement.cs
- PageBorderless.cs
- XNodeSchemaApplier.cs
- TemplateEditingVerb.cs
- SchemaDeclBase.cs
- XmlQueryRuntime.cs
- SQLMembershipProvider.cs
- KerberosSecurityTokenAuthenticator.cs
- ContextBase.cs
- XmlSerializerFactory.cs
- AuthenticationService.cs
- FlowLayout.cs
- AnonymousIdentificationSection.cs
- DataExpression.cs
- AssociationTypeEmitter.cs
- TextEncodedRawTextWriter.cs
- KoreanCalendar.cs
- Activator.cs
- WriteableOnDemandStream.cs
- TrustSection.cs
- FileLogRecordStream.cs
- PtsCache.cs
- DataBindingCollectionEditor.cs
- KeyedHashAlgorithm.cs
- PublishLicense.cs
- _TransmitFileOverlappedAsyncResult.cs
- InstanceDescriptor.cs
- ParameterEditorUserControl.cs
- PenContexts.cs
- DataSvcMapFileSerializer.cs
- FilePresentation.cs
- CommandLibraryHelper.cs
- FixedFlowMap.cs
- ReferentialConstraint.cs
- UIElement3DAutomationPeer.cs
- SQLGuid.cs
- EqualityComparer.cs
- EpmContentSerializer.cs
- StructureChangedEventArgs.cs
- TextEditorContextMenu.cs
- StringReader.cs
- SecurityCriticalDataForSet.cs
- FormsAuthentication.cs
- GradientStop.cs
- CompiledQueryCacheKey.cs
- ContextStack.cs
- BaseProcessor.cs
- ISO2022Encoding.cs
- ExceptionDetail.cs
- StandardToolWindows.cs
- ScopelessEnumAttribute.cs
- UpWmlPageAdapter.cs
- EntitySetBase.cs
- ControlBindingsCollection.cs
- SingleTagSectionHandler.cs
- GetImportedCardRequest.cs
- cookiecollection.cs
- ListControl.cs
- ValueOfAction.cs
- MsmqReceiveParameters.cs
- ActivityWithResult.cs
- SystemPens.cs
- DashStyles.cs
- XmlElement.cs
- Label.cs
- IPAddressCollection.cs
- ObjectStateEntryDbDataRecord.cs
- Range.cs
- RtType.cs
- MissingMemberException.cs
- HttpWebResponse.cs
- TabletCollection.cs