Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- IssuerInformation.cs
- NavigationProgressEventArgs.cs
- SafeRightsManagementQueryHandle.cs
- ToolStripLocationCancelEventArgs.cs
- RichTextBox.cs
- ToolboxComponentsCreatingEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- Calendar.cs
- TypedTableBase.cs
- XhtmlBasicLinkAdapter.cs
- PropertyChangedEventArgs.cs
- ToolboxBitmapAttribute.cs
- Queue.cs
- Configuration.cs
- CodeDirectiveCollection.cs
- CqlErrorHelper.cs
- ControlValuePropertyAttribute.cs
- COM2AboutBoxPropertyDescriptor.cs
- OneOfElement.cs
- FormParameter.cs
- ElapsedEventArgs.cs
- CopyNodeSetAction.cs
- MatrixValueSerializer.cs
- IndexerNameAttribute.cs
- WindowVisualStateTracker.cs
- VScrollBar.cs
- VariableQuery.cs
- FontSizeConverter.cs
- InstanceDataCollectionCollection.cs
- JavaScriptObjectDeserializer.cs
- CodeAttributeArgument.cs
- ButtonChrome.cs
- basecomparevalidator.cs
- XmlSchemaInferenceException.cs
- BitmapEffectRenderDataResource.cs
- BroadcastEventHelper.cs
- ZipIORawDataFileBlock.cs
- CTreeGenerator.cs
- OutputWindow.cs
- BufferModeSettings.cs
- UpDownEvent.cs
- DataGridViewDesigner.cs
- LineInfo.cs
- CodeCastExpression.cs
- QueryOperator.cs
- IpcChannel.cs
- _CacheStreams.cs
- xmlfixedPageInfo.cs
- _NegoState.cs
- GridPatternIdentifiers.cs
- CompoundFileStreamReference.cs
- XmlWriterSettings.cs
- CustomError.cs
- ToolStripHighContrastRenderer.cs
- _ListenerRequestStream.cs
- DbExpressionBuilder.cs
- ToolBar.cs
- IriParsingElement.cs
- PropagatorResult.cs
- StorageMappingFragment.cs
- SettingsSavedEventArgs.cs
- IteratorDescriptor.cs
- NavigationProgressEventArgs.cs
- StringCollection.cs
- SqlExpander.cs
- PointConverter.cs
- WebServiceHostFactory.cs
- UnmanagedMarshal.cs
- AccessViolationException.cs
- LayoutManager.cs
- WorkflowMessageEventArgs.cs
- QueryCursorEventArgs.cs
- DotExpr.cs
- CompoundFileReference.cs
- GACMembershipCondition.cs
- LogExtentCollection.cs
- InfoCardService.cs
- AddIn.cs
- ChameleonKey.cs
- ButtonChrome.cs
- CustomSignedXml.cs
- HtmlInputHidden.cs
- BaseProcessor.cs
- GridViewDeleteEventArgs.cs
- SpellerInterop.cs
- SqlException.cs
- WaitHandleCannotBeOpenedException.cs
- TrackingMemoryStream.cs
- DeliveryStrategy.cs
- WorkflowClientDeliverMessageWrapper.cs
- DataGridViewComboBoxColumn.cs
- NeutralResourcesLanguageAttribute.cs
- SmiSettersStream.cs
- Adorner.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- CalendarDay.cs
- ProfileGroupSettings.cs
- CroppedBitmap.cs
- ResourceSetExpression.cs
- DocumentAutomationPeer.cs