Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1 / 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. ///// 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
- DBNull.cs
- DataGridRowDetailsEventArgs.cs
- ZipIOExtraFieldZip64Element.cs
- WeakReferenceKey.cs
- LinqDataSourceValidationException.cs
- Wizard.cs
- WebPartConnectionCollection.cs
- ExpressionNode.cs
- SqlBooleanMismatchVisitor.cs
- MenuItem.cs
- ClickablePoint.cs
- PersonalizationStateInfo.cs
- panel.cs
- FixUpCollection.cs
- TrackingServices.cs
- SiteMapPath.cs
- Label.cs
- FtpWebResponse.cs
- SQLInt32.cs
- DesignColumnCollection.cs
- CustomAttributeFormatException.cs
- PassportAuthenticationEventArgs.cs
- columnmapfactory.cs
- WindowsRichEditRange.cs
- PerSessionInstanceContextProvider.cs
- VectorCollection.cs
- BitSet.cs
- ColorAnimation.cs
- NetCodeGroup.cs
- DialogResultConverter.cs
- MetadataCacheItem.cs
- AssemblyCollection.cs
- SqlUtil.cs
- XPathAxisIterator.cs
- DefaultValueTypeConverter.cs
- DataGridViewCellStyleChangedEventArgs.cs
- LifetimeServices.cs
- TableHeaderCell.cs
- ChildTable.cs
- ChangeBlockUndoRecord.cs
- CollectionView.cs
- Table.cs
- IISMapPath.cs
- CookieParameter.cs
- SQLByteStorage.cs
- Classification.cs
- UnmanagedMarshal.cs
- PrintControllerWithStatusDialog.cs
- TableRow.cs
- DependencyPropertyConverter.cs
- GenerateScriptTypeAttribute.cs
- XmlValidatingReaderImpl.cs
- OdbcHandle.cs
- WindowHideOrCloseTracker.cs
- XmlAggregates.cs
- SubstitutionList.cs
- BamlLocalizationDictionary.cs
- Workspace.cs
- XpsTokenContext.cs
- WebAdminConfigurationHelper.cs
- EnumBuilder.cs
- PropertyKey.cs
- Logging.cs
- LinqDataSourceValidationException.cs
- AppDomainProtocolHandler.cs
- CodeTypeMember.cs
- IERequestCache.cs
- Clock.cs
- OverlappedContext.cs
- ModifiableIteratorCollection.cs
- UnionCodeGroup.cs
- DateTimeStorage.cs
- StorageEntitySetMapping.cs
- XmlUtil.cs
- SamlConstants.cs
- LoggedException.cs
- DataGridTableStyleMappingNameEditor.cs
- InkCanvasInnerCanvas.cs
- FragmentQueryProcessor.cs
- Accessible.cs
- GroupBox.cs
- CodeMemberField.cs
- ColumnWidthChangingEvent.cs
- EventManager.cs
- FormViewPagerRow.cs
- PassportPrincipal.cs
- FieldNameLookup.cs
- TlsSspiNegotiation.cs
- DataException.cs
- Image.cs
- SqlDataSourceQueryEditor.cs
- Pointer.cs
- WebPartConnectionsDisconnectVerb.cs
- Emitter.cs
- ProfileServiceManager.cs
- SelectorAutomationPeer.cs
- InstallerTypeAttribute.cs
- MetadataHelper.cs
- ConnectionManagementElement.cs
- PropertyRef.cs