Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecurityUtils.cs
- DataKeyCollection.cs
- Quad.cs
- Point3DConverter.cs
- SizeValueSerializer.cs
- GridItem.cs
- ServerValidateEventArgs.cs
- MatrixAnimationUsingPath.cs
- BadImageFormatException.cs
- WebPartDisplayModeCollection.cs
- CharEnumerator.cs
- ProxyRpc.cs
- AnnotationHelper.cs
- GridViewRowCollection.cs
- MarkupExtensionReturnTypeAttribute.cs
- InternalControlCollection.cs
- TextPointer.cs
- DataGridViewRowPostPaintEventArgs.cs
- CommonDialog.cs
- LogSwitch.cs
- NextPreviousPagerField.cs
- SqlFunctions.cs
- UserPersonalizationStateInfo.cs
- DeploymentSectionCache.cs
- EncodingNLS.cs
- CharEnumerator.cs
- TabPage.cs
- SweepDirectionValidation.cs
- DeferredTextReference.cs
- FloaterBaseParaClient.cs
- XXXOnTypeBuilderInstantiation.cs
- ExpressionHelper.cs
- Collection.cs
- SoapTransportImporter.cs
- CodeIterationStatement.cs
- InstanceNotReadyException.cs
- EntityChangedParams.cs
- UndirectedGraph.cs
- MenuCommands.cs
- QilExpression.cs
- OdbcConnectionFactory.cs
- RegistryExceptionHelper.cs
- PrivilegedConfigurationManager.cs
- ListViewDesigner.cs
- SqlParameter.cs
- JavaScriptObjectDeserializer.cs
- ImageBrush.cs
- TabletDeviceInfo.cs
- StaticContext.cs
- OperationAbortedException.cs
- Splitter.cs
- XmlDocumentFieldSchema.cs
- SurrogateSelector.cs
- FilePresentation.cs
- StringUtil.cs
- WebResourceUtil.cs
- HttpPostedFile.cs
- Exceptions.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- PersistNameAttribute.cs
- GridSplitter.cs
- SqlDependency.cs
- LinkedResource.cs
- ServiceInfo.cs
- PathData.cs
- IssuedTokenClientElement.cs
- RectValueSerializer.cs
- SinglePageViewer.cs
- nulltextcontainer.cs
- AppSettingsExpressionBuilder.cs
- PolyBezierSegment.cs
- SafeNativeMethods.cs
- ClientFormsIdentity.cs
- XmlComment.cs
- PrimitiveDataContract.cs
- Glyph.cs
- XsltException.cs
- NotConverter.cs
- WorkflowEnvironment.cs
- TemplateKey.cs
- ExtractorMetadata.cs
- KeyTimeConverter.cs
- StringArrayConverter.cs
- DataListItem.cs
- DocumentOrderQuery.cs
- PointAnimationBase.cs
- ToolStripDropDownClosingEventArgs.cs
- __FastResourceComparer.cs
- SettingsSection.cs
- DataControlButton.cs
- SqlXmlStorage.cs
- ReflectionTypeLoadException.cs
- TextFormatter.cs
- xamlnodes.cs
- MD5.cs
- ServerType.cs
- SafeHandles.cs
- RegionIterator.cs
- ServiceMetadataExtension.cs
- MethodImplAttribute.cs