1 //------------------------------------------------------------------------------
2 // <copyright file="DataSysAttribute.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 // <owner current="true" primary="false">Microsoft</owner>
7 //------------------------------------------------------------------------------
11 namespace System
.Data
{
13 using System
.ComponentModel
;
17 /// DescriptionAttribute marks a property, event, or extender with a
18 /// description. Visual designers can display this description when referencing
22 [AttributeUsage(AttributeTargets
.All
)]
23 [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ]
24 public class DataSysDescriptionAttribute
: DescriptionAttribute
{
26 private bool replaced
= false;
29 /// Constructs a new sys description.
31 [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ]
32 public DataSysDescriptionAttribute(string description
) : base(description
) {
36 /// Retrieves the description text.
38 public override string Description
{
42 DescriptionValue
= Res
.GetString(base.Description
);
44 return base.Description
;