Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / ExpandableObjectConverter.cs / 1 / ExpandableObjectConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using Microsoft.Win32; using System.Collections; using System.ComponentModel.Design; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class ExpandableObjectConverter : TypeConverter { ///Provides /// a type converter to convert expandable objects to and from various /// other representations. ////// public ExpandableObjectConverter() { } ////// Initializes a new instance of the System.ComponentModel.ExpandableObjectConverter 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 object /// 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.Design; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class ExpandableObjectConverter : TypeConverter { ///Provides /// a type converter to convert expandable objects to and from various /// other representations. ////// public ExpandableObjectConverter() { } ////// Initializes a new instance of the System.ComponentModel.ExpandableObjectConverter 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 object /// 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
- ZeroOpNode.cs
- Panel.cs
- _UriTypeConverter.cs
- columnmapfactory.cs
- QuotedPrintableStream.cs
- MLangCodePageEncoding.cs
- CatalogZone.cs
- RetrieveVirtualItemEventArgs.cs
- PropertyEmitterBase.cs
- RegexGroup.cs
- SelectionRange.cs
- PriorityQueue.cs
- ConfigurationSchemaErrors.cs
- GlobalItem.cs
- DataListGeneralPage.cs
- HttpPostedFile.cs
- KeyValueInternalCollection.cs
- XsltConvert.cs
- ComContractElementCollection.cs
- DeviceContext.cs
- TreeViewEvent.cs
- WebPartsPersonalization.cs
- validationstate.cs
- sqlstateclientmanager.cs
- SmtpMail.cs
- DbExpressionRules.cs
- TextTreePropertyUndoUnit.cs
- Form.cs
- MetadataArtifactLoaderCompositeFile.cs
- ApplicationBuildProvider.cs
- SchemaType.cs
- KeysConverter.cs
- ImageButton.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TrackingLocationCollection.cs
- RelationshipNavigation.cs
- CopyNamespacesAction.cs
- MSAAWinEventWrap.cs
- RangeValuePattern.cs
- MailAddress.cs
- CodeDomSerializationProvider.cs
- ControlCachePolicy.cs
- XmlSerializerAssemblyAttribute.cs
- XslTransform.cs
- HasCopySemanticsAttribute.cs
- ClientSideQueueItem.cs
- PageThemeBuildProvider.cs
- ConfigXmlReader.cs
- EntityDataReader.cs
- SqlConnectionStringBuilder.cs
- FindRequestContext.cs
- adornercollection.cs
- RequestCacheManager.cs
- HandlerBase.cs
- HttpCachePolicy.cs
- ConfigurationException.cs
- CodeArrayIndexerExpression.cs
- ContentOperations.cs
- SecurityKeyType.cs
- AndMessageFilter.cs
- CaseInsensitiveHashCodeProvider.cs
- QilTypeChecker.cs
- ConnectionConsumerAttribute.cs
- smtpconnection.cs
- ThemeableAttribute.cs
- FrameDimension.cs
- HttpSessionStateWrapper.cs
- ConfigurationSettings.cs
- SafeArchiveContext.cs
- TypeConstant.cs
- ExtentKey.cs
- SessionEndingEventArgs.cs
- SourceFileInfo.cs
- MdiWindowListStrip.cs
- SourceItem.cs
- RecordBuilder.cs
- SimpleHandlerFactory.cs
- WsdlParser.cs
- TreeWalker.cs
- WindowsRichEditRange.cs
- ScrollPatternIdentifiers.cs
- DmlSqlGenerator.cs
- DateTimeUtil.cs
- Utility.cs
- AttachInfo.cs
- FindCriteriaElement.cs
- DiagnosticTrace.cs
- EnvelopeVersion.cs
- SqlNotificationRequest.cs
- ClickablePoint.cs
- ProcessModelInfo.cs
- ArrayList.cs
- WCFServiceClientProxyGenerator.cs
- TreeViewHitTestInfo.cs
- BitmapEffectDrawingContextState.cs
- TypeConverterValueSerializer.cs
- GlyphInfoList.cs
- hwndwrapper.cs
- ReturnValue.cs
- XmlResolver.cs