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
- ImageKeyConverter.cs
- NumberFunctions.cs
- WebEventTraceProvider.cs
- RuleSetReference.cs
- XmlEventCache.cs
- ControlParser.cs
- TextBox.cs
- TrackingValidationObjectDictionary.cs
- ContentDesigner.cs
- WebConfigurationHostFileChange.cs
- ResourceReferenceExpressionConverter.cs
- ManipulationVelocities.cs
- StandardToolWindows.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- EntityContainerEmitter.cs
- TimeoutHelper.cs
- RIPEMD160Managed.cs
- TabControlAutomationPeer.cs
- FieldNameLookup.cs
- UnionExpr.cs
- SqlTransaction.cs
- RadioButton.cs
- HtmlDocument.cs
- WrapperEqualityComparer.cs
- HttpAsyncResult.cs
- SocketInformation.cs
- dataprotectionpermissionattribute.cs
- ItemCheckedEvent.cs
- XmlText.cs
- WebControlAdapter.cs
- MethodAccessException.cs
- ListBindingHelper.cs
- FormsAuthenticationCredentials.cs
- IdentityModelDictionary.cs
- XPathAxisIterator.cs
- DependencyObjectProvider.cs
- TextTreeInsertUndoUnit.cs
- DataGridViewComboBoxColumn.cs
- DbConnectionInternal.cs
- FixedSOMTextRun.cs
- ArgumentNullException.cs
- DriveInfo.cs
- ApplicationSecurityInfo.cs
- OleDbWrapper.cs
- InfoCardTraceRecord.cs
- StreamReader.cs
- ConstructorNeedsTagAttribute.cs
- Context.cs
- PropertyDescriptor.cs
- XdrBuilder.cs
- LabelExpression.cs
- MetadataArtifactLoaderCompositeResource.cs
- UIElementHelper.cs
- WorkflowRuntime.cs
- RegistrySecurity.cs
- AppSettingsReader.cs
- Effect.cs
- TableRowCollection.cs
- WorkflowDebuggerSteppingAttribute.cs
- JavaScriptObjectDeserializer.cs
- Parameter.cs
- Freezable.cs
- ErrorInfoXmlDocument.cs
- HiddenFieldPageStatePersister.cs
- odbcmetadatacollectionnames.cs
- UrlMappingCollection.cs
- SimpleBitVector32.cs
- TextRunProperties.cs
- ResourceManagerWrapper.cs
- Module.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- FileDialog.cs
- SafeNativeMethods.cs
- LinqDataSourceView.cs
- SmtpReplyReader.cs
- EnumType.cs
- DataProtection.cs
- ParserExtension.cs
- XmlUtil.cs
- CodeNamespaceImportCollection.cs
- XsdValidatingReader.cs
- Point4D.cs
- InkSerializer.cs
- PaperSource.cs
- ClientConfigPaths.cs
- ManagedWndProcTracker.cs
- altserialization.cs
- InputBuffer.cs
- DependencyPropertyKind.cs
- PropertyEmitterBase.cs
- BooleanKeyFrameCollection.cs
- Geometry.cs
- CollectionContainer.cs
- KeyFrames.cs
- PngBitmapEncoder.cs
- SizeChangedEventArgs.cs
- Ref.cs
- HybridDictionary.cs
- InternalEnumValidator.cs
- GeneralTransform.cs