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
- SingleAnimation.cs
- TaskFileService.cs
- ServerValidateEventArgs.cs
- ExpandableObjectConverter.cs
- OrCondition.cs
- DesignConnection.cs
- EnvironmentPermission.cs
- ButtonChrome.cs
- StopStoryboard.cs
- Compiler.cs
- CompositionTarget.cs
- XmlDataDocument.cs
- GridEntryCollection.cs
- MenuItemBindingCollection.cs
- GridViewCommandEventArgs.cs
- BufferedGraphics.cs
- Typography.cs
- SimpleTypeResolver.cs
- TcpAppDomainProtocolHandler.cs
- UrlMappingCollection.cs
- SiteMapProvider.cs
- RectangleHotSpot.cs
- ArglessEventHandlerProxy.cs
- StringFormat.cs
- PageRanges.cs
- RowSpanVector.cs
- DispatcherProcessingDisabled.cs
- SizeConverter.cs
- Separator.cs
- TextAdaptor.cs
- OutputScope.cs
- EditingCommands.cs
- ActivationArguments.cs
- AsymmetricSecurityProtocolFactory.cs
- TextTreeNode.cs
- SafeCertificateContext.cs
- GridViewRowPresenter.cs
- ControlBuilderAttribute.cs
- OverloadGroupAttribute.cs
- AuthenticationModuleElement.cs
- OpenFileDialog.cs
- ConfigurationValidatorAttribute.cs
- SystemWebSectionGroup.cs
- LinqDataSourceHelper.cs
- DiscoveryExceptionDictionary.cs
- Types.cs
- ScriptingRoleServiceSection.cs
- XmlSchemaDocumentation.cs
- HierarchicalDataBoundControl.cs
- PropertyDescriptorCollection.cs
- RowToFieldTransformer.cs
- SeekStoryboard.cs
- ErrorFormatterPage.cs
- RSAOAEPKeyExchangeFormatter.cs
- XPathNodeList.cs
- XmlQualifiedName.cs
- DataGridViewMethods.cs
- SqlStatistics.cs
- SqlParameterCollection.cs
- FontCacheUtil.cs
- ProfilePropertyMetadata.cs
- BinaryObjectReader.cs
- MachineKeyConverter.cs
- LineInfo.cs
- _emptywebproxy.cs
- AppSettingsExpressionBuilder.cs
- Effect.cs
- ProjectionPathBuilder.cs
- ThicknessAnimationBase.cs
- DesignerTransaction.cs
- WorkflowApplication.cs
- shaperfactoryquerycachekey.cs
- ToolstripProfessionalRenderer.cs
- ControlCollection.cs
- MarkupObject.cs
- WindowsFormsHostPropertyMap.cs
- COAUTHINFO.cs
- RTLAwareMessageBox.cs
- ValidationEventArgs.cs
- safelink.cs
- ContextMenu.cs
- connectionpool.cs
- JoinCqlBlock.cs
- ProcessHostConfigUtils.cs
- RuntimeTransactionHandle.cs
- MultipleViewPattern.cs
- DataGridViewComboBoxEditingControl.cs
- NegotiateStream.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- TypeLibConverter.cs
- CrossSiteScriptingValidation.cs
- CommentEmitter.cs
- ListenerTraceUtility.cs
- TreeViewImageKeyConverter.cs
- SchemaTableOptionalColumn.cs
- NetworkInterface.cs
- RestHandlerFactory.cs
- TextOptions.cs
- TreeWalkHelper.cs
- Mapping.cs