Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Data / System / Data / DataSysAttribute.cs / 1 / DataSysAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- /* */ namespace System.Data { using System; using System.ComponentModel; ////// [AttributeUsage(AttributeTargets.All)] [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] #if WINFSInternalOnly internal #else public #endif class DataSysDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// ////// Constructs a new sys description. /// [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] public DataSysDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- /* */ namespace System.Data { using System; using System.ComponentModel; ////// [AttributeUsage(AttributeTargets.All)] [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] #if WINFSInternalOnly internal #else public #endif class DataSysDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// ////// Constructs a new sys description. /// [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] public DataSysDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DetailsViewPagerRow.cs
- ProxyManager.cs
- PermissionRequestEvidence.cs
- XmlNodeComparer.cs
- ReferenceConverter.cs
- ImportCatalogPart.cs
- SwitchAttribute.cs
- ServiceHttpHandlerFactory.cs
- Selection.cs
- StrongTypingException.cs
- IsolatedStoragePermission.cs
- SafeEventLogWriteHandle.cs
- HttpClientChannel.cs
- InvalidWMPVersionException.cs
- StopRoutingHandler.cs
- FactoryMaker.cs
- GridViewUpdatedEventArgs.cs
- PlainXmlWriter.cs
- TextTreeNode.cs
- DesignSurfaceServiceContainer.cs
- Selection.cs
- TrackingServices.cs
- FieldBuilder.cs
- Rule.cs
- XmlAutoDetectWriter.cs
- RecognitionResult.cs
- OdbcReferenceCollection.cs
- isolationinterop.cs
- TextSyndicationContent.cs
- HttpContextBase.cs
- TypeUtil.cs
- CallbackValidator.cs
- Internal.cs
- PeerCollaborationPermission.cs
- Trace.cs
- DoubleIndependentAnimationStorage.cs
- DataAdapter.cs
- StdValidatorsAndConverters.cs
- ProfileBuildProvider.cs
- LocalizabilityAttribute.cs
- ContextMenu.cs
- SafeNativeMethods.cs
- RtfToXamlReader.cs
- MessageSmuggler.cs
- ADRoleFactory.cs
- EmbeddedMailObjectsCollection.cs
- LinkButton.cs
- Border.cs
- WebPartTransformer.cs
- formatter.cs
- MultiPropertyDescriptorGridEntry.cs
- VisualTreeHelper.cs
- ToolStripStatusLabel.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ConnectionProviderAttribute.cs
- WSHttpSecurityElement.cs
- GifBitmapDecoder.cs
- SkewTransform.cs
- WorkflowRuntimeService.cs
- SrgsDocument.cs
- CodeMethodReturnStatement.cs
- WebColorConverter.cs
- ObjectToIdCache.cs
- SqlCharStream.cs
- DispatcherFrame.cs
- HtmlInputCheckBox.cs
- ListenerUnsafeNativeMethods.cs
- PathFigure.cs
- OrderingInfo.cs
- UnsafeNativeMethods.cs
- EntityContainerAssociationSet.cs
- SystemIdentity.cs
- ToolStripDropDown.cs
- MaterialCollection.cs
- XmlAttributeCache.cs
- OptimisticConcurrencyException.cs
- BamlRecordWriter.cs
- ImageMap.cs
- WorkflowPrinting.cs
- ScalarOps.cs
- AnnotationDocumentPaginator.cs
- XamlHostingSection.cs
- StatusBarPanelClickEvent.cs
- EntityContainerEntitySetDefiningQuery.cs
- PageWrapper.cs
- Tokenizer.cs
- BindingObserver.cs
- ComplexLine.cs
- MonikerUtility.cs
- DataMisalignedException.cs
- ExplicitDiscriminatorMap.cs
- SplitContainerDesigner.cs
- MemberHolder.cs
- ToolStripSettings.cs
- DataRowCollection.cs
- TdsParserHelperClasses.cs
- EncoderBestFitFallback.cs
- DurableInstanceManager.cs
- DirectoryRootQuery.cs
- SubtreeProcessor.cs