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
- EntityException.cs
- ModuleConfigurationInfo.cs
- _HeaderInfo.cs
- ValueUtilsSmi.cs
- IncrementalReadDecoders.cs
- VersionedStream.cs
- DataRecordObjectView.cs
- BaseAddressElement.cs
- PrintPreviewGraphics.cs
- Point3DAnimationUsingKeyFrames.cs
- NumberFunctions.cs
- ScriptBehaviorDescriptor.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- URLIdentityPermission.cs
- DefaultValueTypeConverter.cs
- PartialCachingAttribute.cs
- AuthenticationModuleElement.cs
- SqlNodeTypeOperators.cs
- BindingContext.cs
- CacheMode.cs
- RepeaterItemCollection.cs
- UxThemeWrapper.cs
- CaretElement.cs
- TextParagraph.cs
- DbUpdateCommandTree.cs
- IpcPort.cs
- Point3DAnimation.cs
- ServerValidateEventArgs.cs
- Calendar.cs
- XmlSchemaAll.cs
- TreeSet.cs
- FunctionImportMapping.cs
- XsdValidatingReader.cs
- UnsafeNativeMethods.cs
- DataGridViewImageCell.cs
- XmlNotation.cs
- JsonDeserializer.cs
- SqlTypeSystemProvider.cs
- Pair.cs
- WorkItem.cs
- WindowsRichEditRange.cs
- DataGridViewMethods.cs
- SpellerInterop.cs
- FeatureSupport.cs
- LayoutUtils.cs
- FieldMetadata.cs
- LogExtent.cs
- ProtocolImporter.cs
- ListView.cs
- ScaleTransform.cs
- Brushes.cs
- ApplicationManager.cs
- StdValidatorsAndConverters.cs
- WeakHashtable.cs
- CheckBox.cs
- InvariantComparer.cs
- OLEDB_Enum.cs
- FrameDimension.cs
- NonSerializedAttribute.cs
- EncoderReplacementFallback.cs
- CancellationHandlerDesigner.cs
- PseudoWebRequest.cs
- SynchronizedDispatch.cs
- XmlSerializerNamespaces.cs
- ProvidersHelper.cs
- WriteableOnDemandStream.cs
- CharAnimationBase.cs
- EnglishPluralizationService.cs
- ComponentDispatcher.cs
- ValidationErrorEventArgs.cs
- Executor.cs
- ProtocolsSection.cs
- WindowsListViewItemStartMenu.cs
- CheckableControlBaseAdapter.cs
- MimePart.cs
- SafeTokenHandle.cs
- RuntimeEnvironment.cs
- IgnoreFlushAndCloseStream.cs
- HebrewNumber.cs
- EmptyEnumerator.cs
- DuplexClientBase.cs
- CacheMode.cs
- XmlSerializerNamespaces.cs
- MenuCommands.cs
- TabItemWrapperAutomationPeer.cs
- OracleException.cs
- ProgressiveCrcCalculatingStream.cs
- GenericWebPart.cs
- TemporaryBitmapFile.cs
- SequenceFullException.cs
- FontResourceCache.cs
- BitVec.cs
- MDIControlStrip.cs
- XmlAttributeAttribute.cs
- TextWriterTraceListener.cs
- DictionaryChange.cs
- OutputCacheSection.cs
- Console.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WebBrowserContainer.cs