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
- PaintEvent.cs
- ProjectionPathSegment.cs
- WebPartVerb.cs
- Cloud.cs
- RoutingUtilities.cs
- Parallel.cs
- SoapHeader.cs
- LineMetrics.cs
- BamlRecordReader.cs
- SemanticKeyElement.cs
- PathParser.cs
- ListItem.cs
- StringArrayConverter.cs
- FixedTextView.cs
- Literal.cs
- Clause.cs
- ValidatorUtils.cs
- StateBag.cs
- WebEvents.cs
- SqlDataSourceView.cs
- ProfileParameter.cs
- followingsibling.cs
- ArgIterator.cs
- ExpressionBinding.cs
- Compilation.cs
- BuilderPropertyEntry.cs
- RegisteredArrayDeclaration.cs
- TreeViewAutomationPeer.cs
- EncodingNLS.cs
- NativeMethods.cs
- MSAAWinEventWrap.cs
- BindingExpressionUncommonField.cs
- sqlinternaltransaction.cs
- Oid.cs
- CellNormalizer.cs
- CheckPair.cs
- MethodImplAttribute.cs
- OleCmdHelper.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- InvalidWMPVersionException.cs
- AffineTransform3D.cs
- ChannelPoolSettingsElement.cs
- EntityDataSource.cs
- GenericIdentity.cs
- GroupPartitionExpr.cs
- SqlReorderer.cs
- Stopwatch.cs
- CompiledIdentityConstraint.cs
- RegexCode.cs
- ClientSettingsSection.cs
- __ConsoleStream.cs
- util.cs
- BinaryFormatterSinks.cs
- ValidatorUtils.cs
- RegistryPermission.cs
- ComponentConverter.cs
- DataGridViewCellLinkedList.cs
- Highlights.cs
- MediaTimeline.cs
- Encoder.cs
- SqlGatherProducedAliases.cs
- TeredoHelper.cs
- SystemWebCachingSectionGroup.cs
- XmlCodeExporter.cs
- GenericXmlSecurityToken.cs
- SoapServerProtocol.cs
- MaskedTextBoxTextEditor.cs
- SpnegoTokenProvider.cs
- Authorization.cs
- GacUtil.cs
- FigureParagraph.cs
- SchemaMapping.cs
- CompilerGlobalScopeAttribute.cs
- HttpConfigurationSystem.cs
- Interlocked.cs
- TypedReference.cs
- SafeLocalMemHandle.cs
- ObjectStateFormatter.cs
- TextEffect.cs
- UTF7Encoding.cs
- sqlstateclientmanager.cs
- HttpCookiesSection.cs
- Soap.cs
- TextServicesHost.cs
- CacheHelper.cs
- ConstraintCollection.cs
- EventLogEntryCollection.cs
- ViewGenResults.cs
- LinkDescriptor.cs
- KoreanLunisolarCalendar.cs
- ImageListUtils.cs
- WebSysDefaultValueAttribute.cs
- LinkButton.cs
- TextEditorTables.cs
- DataStreamFromComStream.cs
- DataGridCell.cs
- ObjectDataSourceDisposingEventArgs.cs
- BamlWriter.cs
- StylusButton.cs
- MasterPageParser.cs