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
- XmlSchemaSimpleContent.cs
- DbMetaDataCollectionNames.cs
- ThemeInfoAttribute.cs
- HtmlInputCheckBox.cs
- InputScopeManager.cs
- ConfigXmlElement.cs
- TagPrefixCollection.cs
- ReferencedAssembly.cs
- SapiGrammar.cs
- PresentationSource.cs
- SecurityContext.cs
- mediaclock.cs
- WindowsGraphics.cs
- UniqueIdentifierService.cs
- BitmapData.cs
- BitmapSource.cs
- ObjectDataSourceDisposingEventArgs.cs
- HierarchicalDataSourceControl.cs
- TreeChangeInfo.cs
- EpmCustomContentWriterNodeData.cs
- PrintingPermissionAttribute.cs
- Registry.cs
- MsmqInputMessagePool.cs
- ExceptionValidationRule.cs
- IfJoinedCondition.cs
- BinHexEncoding.cs
- FontFamilyValueSerializer.cs
- ProcessManager.cs
- EncoderParameters.cs
- XamlHttpHandlerFactory.cs
- IisTraceWebEventProvider.cs
- QualifierSet.cs
- CheckBoxAutomationPeer.cs
- ListViewTableCell.cs
- PeerInvitationResponse.cs
- DecoderExceptionFallback.cs
- DelegatedStream.cs
- CodeMemberEvent.cs
- WebServiceFaultDesigner.cs
- DiscoveryMessageProperty.cs
- ParameterCollection.cs
- EventBuilder.cs
- TypeTypeConverter.cs
- NullableDecimalAverageAggregationOperator.cs
- LookupBindingPropertiesAttribute.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- VariantWrapper.cs
- basevalidator.cs
- DataGridViewBindingCompleteEventArgs.cs
- arclist.cs
- WrapPanel.cs
- QuotaThrottle.cs
- ServicePointManagerElement.cs
- _SslState.cs
- BoolLiteral.cs
- DataListItemEventArgs.cs
- EncryptedData.cs
- ReflectTypeDescriptionProvider.cs
- Line.cs
- SplitterEvent.cs
- UnsafeNativeMethods.cs
- MatrixValueSerializer.cs
- EntityDataSourceQueryBuilder.cs
- GeneralTransform3D.cs
- SpellerInterop.cs
- TrackBarRenderer.cs
- HitTestWithPointDrawingContextWalker.cs
- ScopeCompiler.cs
- FormParameter.cs
- TabItemWrapperAutomationPeer.cs
- FilterQueryOptionExpression.cs
- KerberosSecurityTokenProvider.cs
- Directory.cs
- ExpressionPrefixAttribute.cs
- DataServiceEntityAttribute.cs
- ContractCodeDomInfo.cs
- InternalUserCancelledException.cs
- WebPartZone.cs
- DataGridCell.cs
- BufferAllocator.cs
- CodeValidator.cs
- InteropAutomationProvider.cs
- ApplicationSecurityManager.cs
- VerticalAlignConverter.cs
- securitymgrsite.cs
- RegexCompiler.cs
- MouseGestureValueSerializer.cs
- SoapMessage.cs
- MsmqInputMessagePool.cs
- TargetControlTypeCache.cs
- FontUnitConverter.cs
- ViewStateAttachedPropertyFeature.cs
- FlowDecisionDesigner.xaml.cs
- SynthesizerStateChangedEventArgs.cs
- ProcessHostConfigUtils.cs
- MobileCapabilities.cs
- SoapRpcMethodAttribute.cs
- XmlSchemaCollection.cs
- DesignerTransactionCloseEvent.cs
- Span.cs