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
- LinkLabel.cs
- TransformPattern.cs
- sortedlist.cs
- DesigntimeLicenseContext.cs
- FilterException.cs
- DesignerDataConnection.cs
- ReadOnlyNameValueCollection.cs
- UnionCodeGroup.cs
- MethodMessage.cs
- FontFaceLayoutInfo.cs
- AccessibilityApplicationManager.cs
- WebBrowserContainer.cs
- SizeAnimationBase.cs
- DefaultObjectMappingItemCollection.cs
- PopupControlService.cs
- ZipIOExtraFieldPaddingElement.cs
- OracleParameter.cs
- LineGeometry.cs
- PointKeyFrameCollection.cs
- TextServicesPropertyRanges.cs
- SrgsDocument.cs
- Stylus.cs
- PageCatalogPart.cs
- AuthenticationConfig.cs
- GridViewPageEventArgs.cs
- IsolatedStoragePermission.cs
- NativeWindow.cs
- SymbolDocumentInfo.cs
- XamlVector3DCollectionSerializer.cs
- QilIterator.cs
- SQLInt64.cs
- MILUtilities.cs
- ResolveCriteria11.cs
- AttachmentCollection.cs
- RouteItem.cs
- FrameworkPropertyMetadata.cs
- TextTreeRootTextBlock.cs
- HtmlInputSubmit.cs
- MsmqBindingFilter.cs
- XmlTypeAttribute.cs
- RtfToXamlLexer.cs
- WebUtil.cs
- Viewport3DVisual.cs
- _SingleItemRequestCache.cs
- InvalidFilterCriteriaException.cs
- DragSelectionMessageFilter.cs
- XmlSchemaAttributeGroupRef.cs
- ToolStripManager.cs
- ToolStripProgressBar.cs
- SqlParameter.cs
- DataGridViewEditingControlShowingEventArgs.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- FilteredDataSetHelper.cs
- X509Utils.cs
- MembershipPasswordException.cs
- Imaging.cs
- EntityCommand.cs
- SetStoryboardSpeedRatio.cs
- DetailsViewCommandEventArgs.cs
- ClientRuntime.cs
- DecimalAnimationBase.cs
- DataColumnMappingCollection.cs
- NullableLongSumAggregationOperator.cs
- FunctionMappingTranslator.cs
- LeaseManager.cs
- FocusWithinProperty.cs
- initElementDictionary.cs
- TrackPointCollection.cs
- Journal.cs
- XPathMultyIterator.cs
- EmbeddedMailObject.cs
- DescriptionAttribute.cs
- ZipIOExtraFieldElement.cs
- BackoffTimeoutHelper.cs
- TTSEngineTypes.cs
- WebResponse.cs
- ObjectListFieldsPage.cs
- XmlNodeReader.cs
- DiscoveryClientDocuments.cs
- RefreshPropertiesAttribute.cs
- SqlUtils.cs
- DiffuseMaterial.cs
- ByteStreamGeometryContext.cs
- BindingCompleteEventArgs.cs
- ModulesEntry.cs
- CompiledQuery.cs
- PageClientProxyGenerator.cs
- CounterCreationDataCollection.cs
- TreeViewEvent.cs
- ExpressionNormalizer.cs
- OracleCommand.cs
- OleDbStruct.cs
- OracleFactory.cs
- ControlCachePolicy.cs
- TextEndOfParagraph.cs
- EditingContext.cs
- CodeDirectionExpression.cs
- xmlsaver.cs
- BooleanAnimationUsingKeyFrames.cs
- CompilerScopeManager.cs