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
- ImageSource.cs
- SiteMapProvider.cs
- SimpleApplicationHost.cs
- UnknownBitmapDecoder.cs
- PackageDigitalSignature.cs
- DataGridViewRowPrePaintEventArgs.cs
- MenuEventArgs.cs
- List.cs
- ProcessActivityTreeOptions.cs
- ImageClickEventArgs.cs
- TextPointerBase.cs
- LinqExpressionNormalizer.cs
- SessionStateSection.cs
- AssociationType.cs
- XmlSchemaParticle.cs
- AttachedAnnotation.cs
- RequestCacheManager.cs
- HelpInfo.cs
- WizardStepBase.cs
- ObjectMaterializedEventArgs.cs
- InputMethodStateChangeEventArgs.cs
- OleDbMetaDataFactory.cs
- ToggleProviderWrapper.cs
- StyleSelector.cs
- DockAndAnchorLayout.cs
- PropertyEmitterBase.cs
- XmlSchemaSet.cs
- Validator.cs
- TextBoxBase.cs
- XmlSchemaExporter.cs
- DefaultWorkflowLoaderService.cs
- SQLDoubleStorage.cs
- DbParameterCollection.cs
- Proxy.cs
- ChannelSinkStacks.cs
- BuiltInExpr.cs
- ChtmlLinkAdapter.cs
- ParagraphResult.cs
- ColorAnimationBase.cs
- XmlSerializerAssemblyAttribute.cs
- TextServicesDisplayAttribute.cs
- sqlnorm.cs
- WindowsButton.cs
- DeviceContexts.cs
- DataPagerFieldItem.cs
- GeometryDrawing.cs
- Calendar.cs
- EventSetter.cs
- CodeDOMUtility.cs
- WorkflowMarkupSerializerMapping.cs
- _NegoStream.cs
- Nullable.cs
- DataGridViewDataErrorEventArgs.cs
- NotifyInputEventArgs.cs
- InstanceHandleConflictException.cs
- recordstatefactory.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Page.cs
- XsltConvert.cs
- HMACRIPEMD160.cs
- MimeObjectFactory.cs
- TextModifierScope.cs
- GeometryGroup.cs
- StateMachineDesignerPaint.cs
- ConstructorBuilder.cs
- ServiceParser.cs
- _IPv6Address.cs
- ConfigXmlComment.cs
- PrePrepareMethodAttribute.cs
- XmlEntityReference.cs
- ConfigurationElementCollection.cs
- DataGridViewSortCompareEventArgs.cs
- FunctionQuery.cs
- MimeTypeMapper.cs
- CharAnimationBase.cs
- AssemblyBuilderData.cs
- SocketStream.cs
- ParameterBuilder.cs
- Constants.cs
- HttpRuntimeSection.cs
- TemplateBindingExpressionConverter.cs
- EntityDataSourceState.cs
- DataProviderNameConverter.cs
- XAMLParseException.cs
- ScrollViewerAutomationPeer.cs
- GridViewEditEventArgs.cs
- PrePostDescendentsWalker.cs
- CheckBoxPopupAdapter.cs
- Label.cs
- TraceRecords.cs
- CodeParameterDeclarationExpression.cs
- StructuralCache.cs
- util.cs
- SimpleType.cs
- Point.cs
- TcpChannelFactory.cs
- ReferenceService.cs
- RadioButton.cs
- ProfileGroupSettings.cs
- WebPartZone.cs