Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
///
///
/// DescriptionAttribute marks a property, event, or extender with a
/// description. Visual designers can display this description when referencing
/// the member.
///
///
[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;
///
/// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CollectionCodeDomSerializer.cs
- InternalControlCollection.cs
- DecoderBestFitFallback.cs
- TemplateBuilder.cs
- LinearGradientBrush.cs
- WebRequestModulesSection.cs
- DesignerActionVerbItem.cs
- DNS.cs
- ScrollProviderWrapper.cs
- ContentPropertyAttribute.cs
- ZoomComboBox.cs
- SmtpCommands.cs
- SQLDecimal.cs
- SrgsElement.cs
- XsltInput.cs
- TextRenderer.cs
- CaseStatementProjectedSlot.cs
- XmlSchemaCollection.cs
- WebBrowserEvent.cs
- PrinterSettings.cs
- ToolStripComboBox.cs
- RegexStringValidatorAttribute.cs
- BinHexEncoder.cs
- TypedTableHandler.cs
- BinaryKeyIdentifierClause.cs
- _SslStream.cs
- QueryExpr.cs
- ExecutionProperties.cs
- LinqDataSourceDisposeEventArgs.cs
- CriticalFinalizerObject.cs
- StreamResourceInfo.cs
- WebPartUserCapability.cs
- DataGridPageChangedEventArgs.cs
- TaskFormBase.cs
- PropertyEmitter.cs
- GridToolTip.cs
- ImageKeyConverter.cs
- DataGridViewSelectedColumnCollection.cs
- DiagnosticsConfiguration.cs
- DefaultTraceListener.cs
- CompilerWrapper.cs
- AuthorizationRuleCollection.cs
- VectorKeyFrameCollection.cs
- MouseBinding.cs
- ReaderWriterLock.cs
- DockPanel.cs
- ChtmlTextWriter.cs
- PathGeometry.cs
- GZipDecoder.cs
- FrameworkElement.cs
- Resources.Designer.cs
- Double.cs
- XmlElementAttribute.cs
- XamlSerializerUtil.cs
- CompilerScope.Storage.cs
- unsafenativemethodsother.cs
- IOThreadTimer.cs
- InheritanceContextChangedEventManager.cs
- MulticastOption.cs
- OracleConnectionStringBuilder.cs
- LayoutEditorPart.cs
- ReceiveActivity.cs
- HelpPage.cs
- DateTimeStorage.cs
- BaseDataList.cs
- ConstructorExpr.cs
- Int32CAMarshaler.cs
- CustomAttributeSerializer.cs
- HttpPostedFile.cs
- XmlBinaryWriterSession.cs
- System.Data_BID.cs
- Geometry.cs
- VectorKeyFrameCollection.cs
- SQLInt32.cs
- HighlightComponent.cs
- ListDictionary.cs
- Activity.cs
- RecordManager.cs
- RestHandlerFactory.cs
- RoutedEventConverter.cs
- ScrollableControl.cs
- XmlSchemaSequence.cs
- HttpModuleActionCollection.cs
- RightsManagementEncryptionTransform.cs
- MsmqIntegrationBindingElement.cs
- LogSwitch.cs
- ServiceDebugElement.cs
- unitconverter.cs
- MsmqIntegrationMessagePool.cs
- XmlSchemaIdentityConstraint.cs
- OracleLob.cs
- AssemblyNameProxy.cs
- SchemaType.cs
- DocumentApplicationJournalEntry.cs
- Color.cs
- HoistedLocals.cs
- RectIndependentAnimationStorage.cs
- MDIWindowDialog.cs
- XamlTypeMapper.cs
- WeakReferenceKey.cs