Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- SharedStatics.cs
- StringCollection.cs
- ExceptionHandlersDesigner.cs
- Transactions.cs
- KeyTimeConverter.cs
- HtmlInputImage.cs
- SendKeys.cs
- AgileSafeNativeMemoryHandle.cs
- DataGridViewCellPaintingEventArgs.cs
- EncodingNLS.cs
- DataServiceEntityAttribute.cs
- baseshape.cs
- TextStore.cs
- XmlSchemaImport.cs
- SettingsAttributes.cs
- COM2ComponentEditor.cs
- BaseTypeViewSchema.cs
- InitializationEventAttribute.cs
- WindowsSecurityToken.cs
- versioninfo.cs
- SignatureHelper.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- IFlowDocumentViewer.cs
- TextRunCacheImp.cs
- QueuePropertyVariants.cs
- GatewayDefinition.cs
- ProfileEventArgs.cs
- HostedTransportConfigurationBase.cs
- ResourceCategoryAttribute.cs
- SortFieldComparer.cs
- SchemaElementDecl.cs
- CultureTableRecord.cs
- DesignerOptionService.cs
- DoubleCollectionConverter.cs
- Formatter.cs
- FormsAuthenticationUser.cs
- TraceHwndHost.cs
- WebHeaderCollection.cs
- EndpointAddressElementBase.cs
- WebBrowserEvent.cs
- CheckedPointers.cs
- MetaDataInfo.cs
- unsafenativemethodsother.cs
- Size3DConverter.cs
- UserPreferenceChangedEventArgs.cs
- Effect.cs
- BorderGapMaskConverter.cs
- DescendantBaseQuery.cs
- BinaryNode.cs
- FlowPosition.cs
- ValidationSummary.cs
- RuntimeComponentFilter.cs
- MessageQueueException.cs
- Win32Exception.cs
- followingsibling.cs
- ManipulationDeltaEventArgs.cs
- DataRowExtensions.cs
- ReferenceConverter.cs
- DbConnectionPool.cs
- ConfigurationException.cs
- PageAdapter.cs
- SystemIPAddressInformation.cs
- TypeInformation.cs
- RSAPKCS1SignatureDeformatter.cs
- SymmetricKeyWrap.cs
- TraceInternal.cs
- Part.cs
- AccessDataSourceView.cs
- ReadOnlyHierarchicalDataSource.cs
- XsltException.cs
- DataGridViewImageCell.cs
- HttpDictionary.cs
- IdnMapping.cs
- PackagePartCollection.cs
- WindowInteropHelper.cs
- EventLogSession.cs
- TableCell.cs
- DataGridColumnFloatingHeader.cs
- LocationUpdates.cs
- IDispatchConstantAttribute.cs
- WebPartZoneCollection.cs
- RoutedEvent.cs
- PeerInvitationResponse.cs
- EmptyCollection.cs
- JulianCalendar.cs
- ProviderConnectionPointCollection.cs
- PageRanges.cs
- MapPathBasedVirtualPathProvider.cs
- NotificationContext.cs
- CodeGenerator.cs
- PassportPrincipal.cs
- ToolStripDropDownDesigner.cs
- UriSection.cs
- ServiceDescriptionSerializer.cs
- DateTimeOffsetStorage.cs
- DragStartedEventArgs.cs
- OleDbStruct.cs
- FormsAuthenticationModule.cs
- ConnectorSelectionGlyph.cs