Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } // 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; 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DirectionalLight.cs
- followingquery.cs
- SourceFileInfo.cs
- ObjectSet.cs
- Attributes.cs
- TextElement.cs
- WindowsAuthenticationEventArgs.cs
- FixedSOMSemanticBox.cs
- TriggerAction.cs
- Module.cs
- DefaultTextStoreTextComposition.cs
- DataGridViewCellStyleBuilderDialog.cs
- RoleManagerEventArgs.cs
- FixedFlowMap.cs
- HighContrastHelper.cs
- SmiConnection.cs
- HttpHandlerAction.cs
- serverconfig.cs
- CheckoutException.cs
- DataGridViewColumnEventArgs.cs
- FileSystemWatcher.cs
- DbMetaDataFactory.cs
- ScriptingProfileServiceSection.cs
- Transactions.cs
- SevenBitStream.cs
- ToolStripSettings.cs
- MergablePropertyAttribute.cs
- CompilerGlobalScopeAttribute.cs
- RequestResizeEvent.cs
- AuthenticationConfig.cs
- GetFileNameResult.cs
- Propagator.ExtentPlaceholderCreator.cs
- KerberosSecurityTokenAuthenticator.cs
- LinqDataSourceInsertEventArgs.cs
- validation.cs
- HiddenField.cs
- ClientBuildManager.cs
- ChangeTracker.cs
- LoadedOrUnloadedOperation.cs
- SourceFileInfo.cs
- ErrorLog.cs
- Label.cs
- DefaultTextStoreTextComposition.cs
- UIElement3D.cs
- Rect.cs
- GridViewSelectEventArgs.cs
- SQLInt16Storage.cs
- ObjRef.cs
- DesignerCommandSet.cs
- JsonReader.cs
- TypeToken.cs
- PagerSettings.cs
- DescendantQuery.cs
- VisualTreeUtils.cs
- RefreshPropertiesAttribute.cs
- ButtonField.cs
- QueryParameter.cs
- RectangleF.cs
- BindingListCollectionView.cs
- NonBatchDirectoryCompiler.cs
- DbgUtil.cs
- SqlExpressionNullability.cs
- Monitor.cs
- SqlParameterizer.cs
- WindowsAltTab.cs
- LongValidatorAttribute.cs
- LoginDesignerUtil.cs
- ExpressionBuilderCollection.cs
- MultiPropertyDescriptorGridEntry.cs
- RangeBase.cs
- Base64Stream.cs
- PasswordRecovery.cs
- ScalarOps.cs
- WorkflowEnvironment.cs
- EncodingDataItem.cs
- ConstrainedGroup.cs
- CommonGetThemePartSize.cs
- DefaultPropertiesToSend.cs
- FileDialogCustomPlaces.cs
- TextBoxAutomationPeer.cs
- EdmTypeAttribute.cs
- FillErrorEventArgs.cs
- CTreeGenerator.cs
- FaultReason.cs
- ListViewCancelEventArgs.cs
- AbstractSvcMapFileLoader.cs
- DynamicValueConverter.cs
- FontUnit.cs
- DbConnectionOptions.cs
- SnapshotChangeTrackingStrategy.cs
- CodeDomSerializerException.cs
- ServicePointManager.cs
- CacheMemory.cs
- Drawing.cs
- GeometryConverter.cs
- StringInfo.cs
- XPathNodeList.cs
- WizardPanel.cs
- DllNotFoundException.cs
- ArgumentOutOfRangeException.cs