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
- WindowsRichEditRange.cs
- SettingsPropertyValueCollection.cs
- NotFiniteNumberException.cs
- NativeCompoundFileAPIs.cs
- IisTraceWebEventProvider.cs
- ValidatorAttribute.cs
- UnsafeNativeMethods.cs
- KnownBoxes.cs
- UpWmlPageAdapter.cs
- TypeHelpers.cs
- ProcessHost.cs
- ListViewGroup.cs
- XmlSchemaAttributeGroupRef.cs
- DataGridrowEditEndingEventArgs.cs
- ValidatedControlConverter.cs
- ResourceAssociationSet.cs
- ToolStripDropDownItemDesigner.cs
- TypeLibConverter.cs
- DbConnectionFactory.cs
- RenderCapability.cs
- httpapplicationstate.cs
- DateTime.cs
- DatatypeImplementation.cs
- ProgressChangedEventArgs.cs
- Size3DValueSerializer.cs
- RequestCachingSection.cs
- LiteralTextContainerControlBuilder.cs
- HttpSysSettings.cs
- WindowsSlider.cs
- UrlPath.cs
- PerformanceCounterManager.cs
- COM2ExtendedUITypeEditor.cs
- XDeferredAxisSource.cs
- ImpersonateTokenRef.cs
- FontDialog.cs
- WebPartAuthorizationEventArgs.cs
- DataGridViewLayoutData.cs
- ProfileGroupSettingsCollection.cs
- ViewEvent.cs
- DbConnectionPoolCounters.cs
- HttpResponseInternalBase.cs
- DoubleConverter.cs
- SQLRoleProvider.cs
- XPathItem.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- TimeSpanValidatorAttribute.cs
- DataServices.cs
- SerialErrors.cs
- SqlFileStream.cs
- CharUnicodeInfo.cs
- DesignTimeParseData.cs
- Int32KeyFrameCollection.cs
- ClientFormsIdentity.cs
- PenContexts.cs
- PolicyManager.cs
- SqlTriggerContext.cs
- SafeNativeMethods.cs
- DebuggerAttributes.cs
- XmlAggregates.cs
- CodeNamespaceImportCollection.cs
- MD5CryptoServiceProvider.cs
- X509CertificateTokenFactoryCredential.cs
- SqlFactory.cs
- KnowledgeBase.cs
- Tokenizer.cs
- SecurityCookieModeValidator.cs
- UpdateTracker.cs
- cryptoapiTransform.cs
- NodeInfo.cs
- ProviderConnectionPointCollection.cs
- TextBlockAutomationPeer.cs
- securitycriticaldataClass.cs
- GenericAuthenticationEventArgs.cs
- CmsInterop.cs
- WaitingCursor.cs
- filewebresponse.cs
- HWStack.cs
- LongValidator.cs
- precedingquery.cs
- Ticks.cs
- ListParaClient.cs
- RoutedEventValueSerializer.cs
- HtmlInputButton.cs
- SortedSet.cs
- GroupItemAutomationPeer.cs
- BitmapData.cs
- ObjectListFieldsPage.cs
- ReachFixedPageSerializerAsync.cs
- ErrorActivity.cs
- DrawingServices.cs
- LeaseManager.cs
- GridLength.cs
- KoreanCalendar.cs
- PeerService.cs
- BasicHttpMessageSecurityElement.cs
- XmlSchemaObjectTable.cs
- TripleDESCryptoServiceProvider.cs
- IdentitySection.cs
- StorageComplexTypeMapping.cs
- RegexStringValidatorAttribute.cs