Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / DataSysAttribute.cs / 1305376 / 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) ] public 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) ] public 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
- RequestCacheValidator.cs
- KeyBinding.cs
- MailSettingsSection.cs
- httpapplicationstate.cs
- PasswordBox.cs
- HtmlWindow.cs
- LayoutEvent.cs
- ViewPort3D.cs
- ProfilePropertyMetadata.cs
- AttributeCollection.cs
- ThreadPool.cs
- NamespaceCollection.cs
- ChannelSinkStacks.cs
- KeySpline.cs
- ReadWriteSpinLock.cs
- LineInfo.cs
- RichTextBox.cs
- RoleManagerEventArgs.cs
- EventMappingSettings.cs
- MD5.cs
- EntityCommand.cs
- PolyLineSegment.cs
- Context.cs
- TemplateBindingExtension.cs
- ContainerControl.cs
- CSharpCodeProvider.cs
- ObjectStorage.cs
- CompleteWizardStep.cs
- XmlWrappingReader.cs
- Ref.cs
- WizardForm.cs
- EmptyEnumerable.cs
- StartFileNameEditor.cs
- KeyManager.cs
- DataGridViewEditingControlShowingEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- TreeBuilder.cs
- QueryExtender.cs
- UseLicense.cs
- HttpContextWrapper.cs
- PointConverter.cs
- GlobalEventManager.cs
- InternalPermissions.cs
- NamespaceQuery.cs
- BrowserDefinition.cs
- SoundPlayer.cs
- DrawTreeNodeEventArgs.cs
- XmlArrayItemAttributes.cs
- IconHelper.cs
- BuildDependencySet.cs
- FixedTextSelectionProcessor.cs
- PrintingPermission.cs
- AuthenticationConfig.cs
- GeneralTransformGroup.cs
- CorrelationService.cs
- SQLChars.cs
- CompareValidator.cs
- ActivityScheduledRecord.cs
- ServiceSettingsResponseInfo.cs
- CheckBoxFlatAdapter.cs
- CustomAttributeFormatException.cs
- HandlerWithFactory.cs
- EncryptedXml.cs
- ChangeToolStripParentVerb.cs
- SectionVisual.cs
- MatrixAnimationBase.cs
- CodeMethodInvokeExpression.cs
- PrintPreviewDialog.cs
- BrushConverter.cs
- IpcServerChannel.cs
- InstalledVoice.cs
- SimpleApplicationHost.cs
- InkPresenter.cs
- IconBitmapDecoder.cs
- PreviewKeyDownEventArgs.cs
- TypedTableBaseExtensions.cs
- BrushProxy.cs
- NamedPermissionSet.cs
- TrackingLocationCollection.cs
- GridViewRow.cs
- OleDbEnumerator.cs
- CommandBindingCollection.cs
- LinkLabelLinkClickedEvent.cs
- ComponentCache.cs
- DataTransferEventArgs.cs
- XmlSchemaDatatype.cs
- TextEffectCollection.cs
- CaseCqlBlock.cs
- SafeNativeMethods.cs
- WindowsGraphics.cs
- DrawingCollection.cs
- GestureRecognizer.cs
- ServiceDescriptionSerializer.cs
- DocumentViewerBase.cs
- Matrix3DConverter.cs
- XmlText.cs
- FixUp.cs
- AttachedPropertyBrowsableAttribute.cs
- InstanceCreationEditor.cs
- UpdateRecord.cs