Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- ScrollChrome.cs
- HitTestParameters.cs
- StaticFileHandler.cs
- RegexTypeEditor.cs
- PathTooLongException.cs
- DataGridViewCellValueEventArgs.cs
- ToolZone.cs
- BevelBitmapEffect.cs
- GlyphInfoList.cs
- SettingsPropertyNotFoundException.cs
- validationstate.cs
- UnsafeNativeMethods.cs
- TemplatedEditableDesignerRegion.cs
- PolyBezierSegment.cs
- CommonProperties.cs
- FeatureManager.cs
- TextSimpleMarkerProperties.cs
- XmlTextAttribute.cs
- ToolTipService.cs
- LogSwitch.cs
- PlacementWorkspace.cs
- AutomationIdentifierGuids.cs
- MimeFormReflector.cs
- XmlElementAttribute.cs
- TTSEngineTypes.cs
- ScriptBehaviorDescriptor.cs
- TextFormatter.cs
- DataGridViewSelectedCellCollection.cs
- EditorBrowsableAttribute.cs
- WebControlsSection.cs
- SamlSerializer.cs
- Page.cs
- PostBackOptions.cs
- DictionaryEntry.cs
- ObfuscateAssemblyAttribute.cs
- ProfileManager.cs
- SubpageParaClient.cs
- FreezableDefaultValueFactory.cs
- WebPartConnectionCollection.cs
- ObjectListGeneralPage.cs
- Version.cs
- BrowserInteropHelper.cs
- BaseCollection.cs
- ColorMap.cs
- InvokeGenerator.cs
- DecimalStorage.cs
- SecureUICommand.cs
- ProtocolsConfiguration.cs
- CollectionView.cs
- PersonalizationStateInfoCollection.cs
- TransactedReceiveData.cs
- ArrayEditor.cs
- TextServicesLoader.cs
- SingleConverter.cs
- XPathAxisIterator.cs
- TextComposition.cs
- JoinCqlBlock.cs
- ListViewDeletedEventArgs.cs
- BamlTreeUpdater.cs
- _CookieModule.cs
- CallId.cs
- Application.cs
- ObjectQueryExecutionPlan.cs
- ToolboxItemLoader.cs
- XamlTypeMapper.cs
- HttpCookieCollection.cs
- GroupDescription.cs
- XmlDocumentType.cs
- WebPartsPersonalization.cs
- TemplateControlBuildProvider.cs
- ItemsChangedEventArgs.cs
- AuthenticatingEventArgs.cs
- Operand.cs
- IdentityHolder.cs
- XsdDuration.cs
- ResourceExpression.cs
- TypedAsyncResult.cs
- TextBoxRenderer.cs
- ProfileModule.cs
- StoreItemCollection.cs
- DrawingImage.cs
- RouteParser.cs
- TransactionContextValidator.cs
- ModifiableIteratorCollection.cs
- FontSourceCollection.cs
- Clause.cs
- ArrayExtension.cs
- TextRunCacheImp.cs
- SoapDocumentMethodAttribute.cs
- BaseTemplatedMobileComponentEditor.cs
- ASCIIEncoding.cs
- SqlInternalConnectionSmi.cs
- EventLogPermissionEntry.cs
- Missing.cs
- InProcStateClientManager.cs
- MemberHolder.cs
- FragmentQueryKB.cs
- Header.cs
- PropertyChangeTracker.cs