Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Data / System / Data / DataSysAttribute.cs / 1 / 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) ] #if WINFSInternalOnly internal #else public #endif 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) ] #if WINFSInternalOnly internal #else public #endif 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
- CardSpaceException.cs
- RightsManagementEncryptedStream.cs
- SqlExpressionNullability.cs
- OleDbMetaDataFactory.cs
- ProxyHwnd.cs
- DirectoryNotFoundException.cs
- ProxyWebPartConnectionCollection.cs
- Reference.cs
- CustomAttributeBuilder.cs
- Debug.cs
- PropertyFilter.cs
- CodePageEncoding.cs
- SubclassTypeValidator.cs
- BitmapCodecInfoInternal.cs
- PenLineJoinValidation.cs
- CacheSection.cs
- PrimitiveSchema.cs
- DataGridViewCellCancelEventArgs.cs
- GridEntry.cs
- SByte.cs
- BidOverLoads.cs
- MethodAccessException.cs
- SetStoryboardSpeedRatio.cs
- HttpListenerPrefixCollection.cs
- GridEntry.cs
- ProfileModule.cs
- DataBoundControlParameterTarget.cs
- Metadata.cs
- GlyphElement.cs
- WebEventTraceProvider.cs
- ConversionContext.cs
- StateBag.cs
- ProcessHostMapPath.cs
- BufferedStream.cs
- ResourceCategoryAttribute.cs
- PageThemeParser.cs
- CodeDomDesignerLoader.cs
- DesignerAdRotatorAdapter.cs
- SoapCodeExporter.cs
- CharKeyFrameCollection.cs
- AggregateNode.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ToolStripItemBehavior.cs
- DocumentApplicationJournalEntry.cs
- MappingSource.cs
- SmtpCommands.cs
- BitmapEffect.cs
- EventProvider.cs
- IDQuery.cs
- DateTimeConverter.cs
- ApplicationSettingsBase.cs
- TiffBitmapDecoder.cs
- SqlGenericUtil.cs
- HostDesigntimeLicenseContext.cs
- TextSelectionHelper.cs
- FontSource.cs
- EntityDataSourceWrapper.cs
- LinkArea.cs
- XmlSerializerVersionAttribute.cs
- ToolboxItemCollection.cs
- XmlValidatingReaderImpl.cs
- TraceProvider.cs
- ObjectDataSourceMethodEditor.cs
- CodeStatement.cs
- RegexGroupCollection.cs
- CollectionDataContractAttribute.cs
- Rfc4050KeyFormatter.cs
- FaultDescription.cs
- ByteConverter.cs
- TextLineBreak.cs
- MasterPageBuildProvider.cs
- SmtpSection.cs
- BoundField.cs
- ResourceKey.cs
- MonitorWrapper.cs
- NullableDoubleSumAggregationOperator.cs
- Span.cs
- NamedPipeChannelListener.cs
- Environment.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- StackSpiller.Bindings.cs
- SafeBuffer.cs
- basecomparevalidator.cs
- basenumberconverter.cs
- DefaultPrintController.cs
- ScriptingRoleServiceSection.cs
- InvalidateEvent.cs
- ConstructorNeedsTagAttribute.cs
- Enum.cs
- PreviewKeyDownEventArgs.cs
- StreamWriter.cs
- NumberFormatInfo.cs
- RotateTransform3D.cs
- Endpoint.cs
- QilDataSource.cs
- ValidatingCollection.cs
- SqlRowUpdatingEvent.cs
- Crc32Helper.cs
- Image.cs
- RelationshipType.cs