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
- HttpWebResponse.cs
- TrackingMemoryStreamFactory.cs
- WorkflowOperationContext.cs
- XamlNamespaceHelper.cs
- InstallerTypeAttribute.cs
- QuadraticBezierSegment.cs
- CompilationUnit.cs
- ToolBarOverflowPanel.cs
- HelpInfo.cs
- ResourceProviderFactory.cs
- SoapCommonClasses.cs
- WindowsListViewGroup.cs
- CommunicationObject.cs
- DataObjectEventArgs.cs
- CodeSnippetCompileUnit.cs
- TickBar.cs
- BigInt.cs
- DataGridViewColumnCollection.cs
- FileEnumerator.cs
- Color.cs
- EntityCommandExecutionException.cs
- DetailsViewDeletedEventArgs.cs
- WindowsRebar.cs
- CalendarDateRange.cs
- HttpValueCollection.cs
- NullReferenceException.cs
- CommandPlan.cs
- NTAccount.cs
- DataGridViewCheckBoxColumn.cs
- IncomingWebRequestContext.cs
- X509CertificateCollection.cs
- SQLInt64Storage.cs
- FontUnit.cs
- ObjectContext.cs
- RadialGradientBrush.cs
- Int64Converter.cs
- HtmlTextBoxAdapter.cs
- JulianCalendar.cs
- Profiler.cs
- BinaryObjectInfo.cs
- CompoundFileStorageReference.cs
- SimpleWebHandlerParser.cs
- MarshalDirectiveException.cs
- XmlWriterTraceListener.cs
- TextStore.cs
- SqlTransaction.cs
- SqlConnectionFactory.cs
- TypeDelegator.cs
- DataViewSettingCollection.cs
- BamlLocalizableResourceKey.cs
- SoapServerMessage.cs
- LoginName.cs
- GeometryConverter.cs
- DynamicDiscoSearcher.cs
- GestureRecognitionResult.cs
- EnumValAlphaComparer.cs
- HttpHandlerActionCollection.cs
- CurrentTimeZone.cs
- DrawingServices.cs
- AppLevelCompilationSectionCache.cs
- _SSPISessionCache.cs
- DoubleStorage.cs
- SHA384.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SelectedGridItemChangedEvent.cs
- WindowsAuthenticationEventArgs.cs
- Pointer.cs
- Base64Encoder.cs
- EtwTrace.cs
- JsonServiceDocumentSerializer.cs
- DES.cs
- Screen.cs
- DiscreteKeyFrames.cs
- ManagementException.cs
- SqlTrackingWorkflowInstance.cs
- ScrollItemProviderWrapper.cs
- InternalConfigSettingsFactory.cs
- Color.cs
- HtmlImage.cs
- PointAnimationUsingPath.cs
- ListControlStringCollectionEditor.cs
- WmfPlaceableFileHeader.cs
- COAUTHINFO.cs
- DiscriminatorMap.cs
- ComponentResourceManager.cs
- AspProxy.cs
- UriParserTemplates.cs
- KeyProperty.cs
- SingleKeyFrameCollection.cs
- Opcode.cs
- BufferAllocator.cs
- FixedMaxHeap.cs
- SupportingTokenChannel.cs
- HandleRef.cs
- XamlFigureLengthSerializer.cs
- EventProviderWriter.cs
- ToolStripRenderer.cs
- XPathSelectionIterator.cs
- XmlLanguageConverter.cs
- EndOfStreamException.cs