Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SerializationInfoEnumerator.cs
- TextBoxAutoCompleteSourceConverter.cs
- IdentifierService.cs
- NameValuePermission.cs
- StandardBindingElementCollection.cs
- UniqueConstraint.cs
- UndoManager.cs
- XXXOnTypeBuilderInstantiation.cs
- TransformGroup.cs
- DataView.cs
- OleDbConnectionFactory.cs
- BaseValidatorDesigner.cs
- CommandLibraryHelper.cs
- Module.cs
- ApplySecurityAndSendAsyncResult.cs
- TreeNodeCollection.cs
- WindowsPrincipal.cs
- Single.cs
- CssStyleCollection.cs
- ColumnClickEvent.cs
- TiffBitmapEncoder.cs
- XmlSchemaSimpleTypeUnion.cs
- ContextStack.cs
- FamilyTypefaceCollection.cs
- ReadOnlyPermissionSet.cs
- ManualResetEvent.cs
- XPathNodePointer.cs
- DateTimePicker.cs
- StatusBar.cs
- ScrollViewerAutomationPeer.cs
- DrawingBrush.cs
- AppSettingsExpressionEditor.cs
- securestring.cs
- DoubleLinkList.cs
- SqlUtil.cs
- WpfSharedBamlSchemaContext.cs
- XamlClipboardData.cs
- XslAstAnalyzer.cs
- parserscommon.cs
- Point3DCollectionValueSerializer.cs
- PageTheme.cs
- CookieProtection.cs
- VirtualPath.cs
- TraceHwndHost.cs
- File.cs
- LinkDescriptor.cs
- ISCIIEncoding.cs
- BordersPage.cs
- WSHttpBindingElement.cs
- DataControlFieldCell.cs
- DataControlButton.cs
- EditorPartCollection.cs
- BaseAutoFormat.cs
- Msmq4SubqueuePoisonHandler.cs
- TraceLevelStore.cs
- FilteredDataSetHelper.cs
- LinqDataSourceContextEventArgs.cs
- HyperLinkStyle.cs
- XmlHierarchicalEnumerable.cs
- HtmlTable.cs
- BlockUIContainer.cs
- ScopeElementCollection.cs
- ConstNode.cs
- EventProvider.cs
- Operand.cs
- RuleRefElement.cs
- FontResourceCache.cs
- HttpModuleCollection.cs
- EventWaitHandleSecurity.cs
- ParserExtension.cs
- DataTableNewRowEvent.cs
- BinaryExpressionHelper.cs
- FontStretchConverter.cs
- VectorKeyFrameCollection.cs
- CleanUpVirtualizedItemEventArgs.cs
- Viewport3DAutomationPeer.cs
- EncoderNLS.cs
- CompiledXpathExpr.cs
- MeshGeometry3D.cs
- XmlTextAttribute.cs
- BidOverLoads.cs
- TextServicesCompartmentContext.cs
- ListSortDescriptionCollection.cs
- DataRowComparer.cs
- InstanceLockLostException.cs
- CultureSpecificCharacterBufferRange.cs
- LineMetrics.cs
- SecurityHelper.cs
- _HTTPDateParse.cs
- CodeArrayIndexerExpression.cs
- WorkBatch.cs
- ScopelessEnumAttribute.cs
- TaskHelper.cs
- RbTree.cs
- MobileErrorInfo.cs
- IConvertible.cs
- ConfigurationProviderException.cs
- TextStore.cs
- GenericIdentity.cs
- SystemInformation.cs