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
- InvokePattern.cs
- DataTablePropertyDescriptor.cs
- XNodeValidator.cs
- Error.cs
- ActiveXSite.cs
- Transform3D.cs
- ClientTarget.cs
- IPHostEntry.cs
- KernelTypeValidation.cs
- ThrowHelper.cs
- CanonicalFontFamilyReference.cs
- XmlSchemaAppInfo.cs
- DESCryptoServiceProvider.cs
- DataListItem.cs
- DataGridViewLayoutData.cs
- SafeNativeMethodsOther.cs
- TextBoxBase.cs
- ControllableStoryboardAction.cs
- ButtonChrome.cs
- SiteMap.cs
- AttributeConverter.cs
- RuntimeHandles.cs
- TextEditorTables.cs
- Underline.cs
- ChangePasswordAutoFormat.cs
- MetadataPropertyAttribute.cs
- DrawingContextWalker.cs
- LocalizationComments.cs
- TextBoxRenderer.cs
- FolderBrowserDialog.cs
- ModelUIElement3D.cs
- XmlSchemaChoice.cs
- RepeaterItemEventArgs.cs
- SQLByte.cs
- MetadataUtil.cs
- Deflater.cs
- BindingRestrictions.cs
- TabControl.cs
- Annotation.cs
- AnnotationService.cs
- Baml6Assembly.cs
- DataMemberConverter.cs
- BitmapEffectGroup.cs
- EnumBuilder.cs
- MenuItem.cs
- UniqueEventHelper.cs
- MemberPathMap.cs
- ConnectionProviderAttribute.cs
- Slider.cs
- ManagedWndProcTracker.cs
- DragEvent.cs
- VerificationAttribute.cs
- SocketStream.cs
- StructuredTypeEmitter.cs
- ServiceConfigurationTraceRecord.cs
- HtmlControlPersistable.cs
- OlePropertyStructs.cs
- safelinkcollection.cs
- DataServiceBuildProvider.cs
- SymbolPair.cs
- CheckStoreFileValidityRequest.cs
- TextDecorations.cs
- DataControlButton.cs
- PrimaryKeyTypeConverter.cs
- Profiler.cs
- LineVisual.cs
- QilPatternFactory.cs
- MatcherBuilder.cs
- WebPartAddingEventArgs.cs
- WebRequest.cs
- PerformanceCounterManager.cs
- SuppressMergeCheckAttribute.cs
- SharedMemory.cs
- Baml6ConstructorInfo.cs
- Selector.cs
- ConnectionConsumerAttribute.cs
- SQLDecimalStorage.cs
- SafeFileMappingHandle.cs
- ConfigurationSectionGroup.cs
- EventWaitHandle.cs
- SyndicationItemFormatter.cs
- SmiMetaData.cs
- X509Certificate2Collection.cs
- WebRequestModulesSection.cs
- TargetInvocationException.cs
- TraceXPathNavigator.cs
- WhitespaceRule.cs
- SystemTcpConnection.cs
- SignatureHelper.cs
- PrintPageEvent.cs
- OdbcEnvironmentHandle.cs
- WebPartEditorOkVerb.cs
- AliasedExpr.cs
- SqlCachedBuffer.cs
- ReadOnlyPropertyMetadata.cs
- LazyTextWriterCreator.cs
- RegexBoyerMoore.cs
- CustomTypeDescriptor.cs
- RawStylusInputCustomData.cs
- ColumnHeader.cs