Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / ExpressionsCollectionConverter.cs / 1 / ExpressionsCollectionConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System; using System.ComponentModel; using System.Globalization; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class ExpressionsCollectionConverter : TypeConverter { ////// Provides conversion functions for data expression collections. /// ////// /// public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { if (destinationType == typeof(string)) { return String.Empty; } else { return base.ConvertTo(context, culture, value, destinationType); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Converts a data binding collection to the specified type. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DSGeneratorProblem.cs
- GridView.cs
- nulltextnavigator.cs
- EmptyCollection.cs
- panel.cs
- DesignerAdRotatorAdapter.cs
- ItemMap.cs
- VectorAnimationUsingKeyFrames.cs
- GridViewUpdateEventArgs.cs
- EnterpriseServicesHelper.cs
- DrawListViewColumnHeaderEventArgs.cs
- DataGridViewCellStyle.cs
- XmlDocumentSerializer.cs
- HelpInfo.cs
- MemoryStream.cs
- DataGridSortCommandEventArgs.cs
- GZipStream.cs
- AddInSegmentDirectoryNotFoundException.cs
- RoutedEventConverter.cs
- AsyncContentLoadedEventArgs.cs
- TranslateTransform.cs
- PublisherIdentityPermission.cs
- SqlUserDefinedAggregateAttribute.cs
- SqlDependencyListener.cs
- VoiceInfo.cs
- EllipseGeometry.cs
- SynchronizedDispatch.cs
- ColorMap.cs
- ExtensibleClassFactory.cs
- loginstatus.cs
- FormatterServices.cs
- LineProperties.cs
- HandlerWithFactory.cs
- MemberInfoSerializationHolder.cs
- ReservationNotFoundException.cs
- ReaderWriterLockWrapper.cs
- DynamicUpdateCommand.cs
- IPipelineRuntime.cs
- Debugger.cs
- DrawingBrush.cs
- RectConverter.cs
- SR.cs
- OverrideMode.cs
- OpCodes.cs
- TextFormatterContext.cs
- TracedNativeMethods.cs
- SqlInternalConnectionSmi.cs
- JsonClassDataContract.cs
- ToolStripDropDownMenu.cs
- ObjectSet.cs
- UnknownBitmapDecoder.cs
- ProviderConnectionPoint.cs
- ToolStripSplitStackLayout.cs
- MetabaseServerConfig.cs
- GenericEnumConverter.cs
- MemoryStream.cs
- RegisteredHiddenField.cs
- SettingsSection.cs
- System.Data_BID.cs
- MsmqInputSessionChannelListener.cs
- DesignTimeTemplateParser.cs
- ImageAttributes.cs
- SafeNativeMethods.cs
- WebPartHelpVerb.cs
- OLEDB_Util.cs
- TopClause.cs
- TextEffect.cs
- X509SecurityTokenProvider.cs
- SmtpFailedRecipientsException.cs
- Base64Decoder.cs
- BufferedWebEventProvider.cs
- WeakReference.cs
- SchemaImporterExtensionsSection.cs
- MessageBodyDescription.cs
- PropertyValueUIItem.cs
- WindowAutomationPeer.cs
- DataRecord.cs
- SqlUdtInfo.cs
- SocketAddress.cs
- BindingExpressionUncommonField.cs
- PeerNameRecord.cs
- RenderingBiasValidation.cs
- ExceptionHelpers.cs
- TrackingServices.cs
- MetadataItemCollectionFactory.cs
- DiscardableAttribute.cs
- EventHandlerService.cs
- TraceInternal.cs
- OdbcConnectionStringbuilder.cs
- TraceHandlerErrorFormatter.cs
- RenderDataDrawingContext.cs
- AnnotationAuthorChangedEventArgs.cs
- SqlDataSourceQueryEditor.cs
- PrintDialogException.cs
- ThreadExceptionDialog.cs
- StickyNoteContentControl.cs
- DataTablePropertyDescriptor.cs
- PassportAuthentication.cs
- XmlNotation.cs
- CursorEditor.cs