Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1305376 / WebSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Retrieves the description text. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartHeaderCloseVerb.cs
- MobileErrorInfo.cs
- Bold.cs
- EdmTypeAttribute.cs
- RootProfilePropertySettingsCollection.cs
- EnumerableValidator.cs
- TextBox.cs
- SmiSettersStream.cs
- BitmapEffectInput.cs
- PerformanceCounterCategory.cs
- SmiGettersStream.cs
- SQLMembershipProvider.cs
- DoubleCollectionValueSerializer.cs
- Transform3DGroup.cs
- QueueProcessor.cs
- SimpleWebHandlerParser.cs
- _TimerThread.cs
- RegexTree.cs
- GlyphTypeface.cs
- SHA1.cs
- ContainerUtilities.cs
- StringBuilder.cs
- WizardStepBase.cs
- ApplicationDirectory.cs
- AssociationType.cs
- EntityRecordInfo.cs
- InitializeCorrelation.cs
- CornerRadius.cs
- ItemsControlAutomationPeer.cs
- CategoryValueConverter.cs
- TouchesCapturedWithinProperty.cs
- ConnectionPoolRegistry.cs
- DbConnectionPoolIdentity.cs
- RegexParser.cs
- SatelliteContractVersionAttribute.cs
- ValueUtilsSmi.cs
- MemberMaps.cs
- PanelStyle.cs
- PermissionAttributes.cs
- ObjectAnimationUsingKeyFrames.cs
- NotifyCollectionChangedEventArgs.cs
- CompositeDataBoundControl.cs
- SoapSchemaImporter.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Encoding.cs
- LineSegment.cs
- SystemWebCachingSectionGroup.cs
- XamlBrushSerializer.cs
- StaticSiteMapProvider.cs
- NameValueSectionHandler.cs
- selecteditemcollection.cs
- Int32Converter.cs
- InlineUIContainer.cs
- IListConverters.cs
- Int64Animation.cs
- InvalidWMPVersionException.cs
- NavigationPropertyEmitter.cs
- ShaperBuffers.cs
- HttpWebRequestElement.cs
- SystemIPAddressInformation.cs
- CellCreator.cs
- RegisteredDisposeScript.cs
- DataColumnMappingCollection.cs
- Material.cs
- StringExpressionSet.cs
- CodeIndexerExpression.cs
- Fault.cs
- cryptoapiTransform.cs
- ISFTagAndGuidCache.cs
- TransformProviderWrapper.cs
- EventItfInfo.cs
- EntitySet.cs
- SchemaMapping.cs
- HashCryptoHandle.cs
- HyperLink.cs
- XslTransform.cs
- _ContextAwareResult.cs
- MethodCallConverter.cs
- Msec.cs
- Enlistment.cs
- Rules.cs
- SocketConnection.cs
- TypeUnloadedException.cs
- CodeTypeReferenceCollection.cs
- GC.cs
- SectionInformation.cs
- ObservableCollection.cs
- EndOfStreamException.cs
- GlobalizationSection.cs
- CannotUnloadAppDomainException.cs
- DataFormats.cs
- ObjectDataSourceView.cs
- QueryResponse.cs
- OutputCacheSettingsSection.cs
- TextEffectCollection.cs
- ListViewItem.cs
- DataGridTablesFactory.cs
- CodeTypeDelegate.cs
- ResourcePermissionBaseEntry.cs
- QilUnary.cs