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
- ExtensionWindowHeader.cs
- XmlSchemaSimpleType.cs
- CodeDomConfigurationHandler.cs
- FontUnit.cs
- CellTreeSimplifier.cs
- DataServiceQuery.cs
- BindingExpressionBase.cs
- EventProvider.cs
- XmlHierarchicalDataSourceView.cs
- RouteUrlExpressionBuilder.cs
- TransformerInfoCollection.cs
- GuidelineSet.cs
- SecurityContext.cs
- Table.cs
- ErrorHandler.cs
- NameValueCache.cs
- HandlerBase.cs
- DataIdProcessor.cs
- __ComObject.cs
- TypeDelegator.cs
- Ticks.cs
- DocumentPaginator.cs
- CompilationSection.cs
- TimeoutException.cs
- XPathExpr.cs
- CodeTypeReference.cs
- SSmlParser.cs
- SystemColorTracker.cs
- Substitution.cs
- BitHelper.cs
- ToolboxBitmapAttribute.cs
- TreeNodeSelectionProcessor.cs
- OleDbConnection.cs
- SwitchElementsCollection.cs
- AuthenticatedStream.cs
- SerializationSectionGroup.cs
- ToolStripItemClickedEventArgs.cs
- MultiTrigger.cs
- NativeMethodsCLR.cs
- _FixedSizeReader.cs
- ObjectViewFactory.cs
- OdbcPermission.cs
- Duration.cs
- WebServiceParameterData.cs
- SamlAttributeStatement.cs
- SkinIDTypeConverter.cs
- AssemblySettingAttributes.cs
- DefaultEvaluationContext.cs
- PeerResolver.cs
- XmlSchemaDocumentation.cs
- ILGenerator.cs
- BuildProviderCollection.cs
- WindowsTreeView.cs
- OracleConnection.cs
- CryptoKeySecurity.cs
- KoreanCalendar.cs
- OperationAbortedException.cs
- PolicyChain.cs
- UserControlBuildProvider.cs
- JavaScriptSerializer.cs
- DataSourceXmlClassAttribute.cs
- SystemIPInterfaceProperties.cs
- ObjectPropertyMapping.cs
- SymbolDocumentInfo.cs
- TraceSection.cs
- DataGridHeaderBorder.cs
- PlatformCulture.cs
- CommandHelpers.cs
- mediaeventargs.cs
- Focus.cs
- ReadOnlyTernaryTree.cs
- ByteRangeDownloader.cs
- PageThemeCodeDomTreeGenerator.cs
- SoapCodeExporter.cs
- unsafenativemethodstextservices.cs
- XXXInfos.cs
- Label.cs
- TreeNodeCollection.cs
- Animatable.cs
- DoubleAnimationUsingKeyFrames.cs
- EntityClassGenerator.cs
- EDesignUtil.cs
- AdornerDecorator.cs
- WMICapabilities.cs
- FilterRepeater.cs
- PositiveTimeSpanValidatorAttribute.cs
- StyleCollection.cs
- DataGridColumnCollection.cs
- ZipIOFileItemStream.cs
- SecurityContextSecurityTokenAuthenticator.cs
- CommandPlan.cs
- DataGridViewImageColumn.cs
- CommentEmitter.cs
- RuntimeComponentFilter.cs
- ChannelAcceptor.cs
- CaseExpr.cs
- SafeNativeMethodsOther.cs
- FilteredAttributeCollection.cs
- IpcPort.cs
- WebPartExportVerb.cs