Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DateRangeEvent.cs
- HttpModulesSection.cs
- DetailsViewCommandEventArgs.cs
- LabelLiteral.cs
- SchemaSetCompiler.cs
- SqlError.cs
- TargetConverter.cs
- OrthographicCamera.cs
- X509ChainElement.cs
- Win32MouseDevice.cs
- QuaternionKeyFrameCollection.cs
- filewebrequest.cs
- HtmlControlPersistable.cs
- InternalPermissions.cs
- DbConnectionStringCommon.cs
- TextBlockAutomationPeer.cs
- StyleHelper.cs
- HttpModuleAction.cs
- DesignerAutoFormatCollection.cs
- XmlChoiceIdentifierAttribute.cs
- Exceptions.cs
- ExpressionList.cs
- documentsequencetextview.cs
- BamlTreeUpdater.cs
- WindowInteropHelper.cs
- SqlFlattener.cs
- FileEnumerator.cs
- __ConsoleStream.cs
- SourceFilter.cs
- Helpers.cs
- HttpCacheVaryByContentEncodings.cs
- PaginationProgressEventArgs.cs
- RC2CryptoServiceProvider.cs
- UriSection.cs
- Bits.cs
- Matrix3DConverter.cs
- PeerApplication.cs
- DropTarget.cs
- SignedPkcs7.cs
- FontStretchConverter.cs
- XmlQueryRuntime.cs
- ErrorProvider.cs
- PersistenceProviderElement.cs
- ActivationServices.cs
- UniformGrid.cs
- ObjectQueryState.cs
- PenThreadPool.cs
- ConfigurationLockCollection.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- WebCodeGenerator.cs
- WebBrowserContainer.cs
- SortQuery.cs
- ApplicationActivator.cs
- SimpleTypeResolver.cs
- LoaderAllocator.cs
- ImageCodecInfo.cs
- Avt.cs
- WinEventQueueItem.cs
- ProfileBuildProvider.cs
- _SpnDictionary.cs
- AuthorizationSection.cs
- KerberosRequestorSecurityToken.cs
- OracleDataReader.cs
- XmlSerializerObjectSerializer.cs
- DateTimeStorage.cs
- Font.cs
- SortFieldComparer.cs
- FrameworkContentElement.cs
- InstalledFontCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- MatrixCamera.cs
- FamilyMap.cs
- ExceptionValidationRule.cs
- MaskedTextBox.cs
- ToolbarAUtomationPeer.cs
- PropertyInformationCollection.cs
- MenuItemAutomationPeer.cs
- TextView.cs
- GeneralTransform.cs
- Line.cs
- RegexInterpreter.cs
- ExtentJoinTreeNode.cs
- Simplifier.cs
- DBSqlParserColumnCollection.cs
- AnnotationResource.cs
- AuditLog.cs
- Message.cs
- TypeConverters.cs
- ParagraphResult.cs
- MetadataCache.cs
- HGlobalSafeHandle.cs
- OneOfConst.cs
- CommentEmitter.cs
- SqlAliasesReferenced.cs
- TextTabProperties.cs
- initElementDictionary.cs
- ServiceHostFactory.cs
- Material.cs
- StickyNoteContentControl.cs
- StubHelpers.cs