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
- SortedDictionary.cs
- DynamicILGenerator.cs
- GridViewCommandEventArgs.cs
- StatusBarPanel.cs
- GradientSpreadMethodValidation.cs
- PrintingPermissionAttribute.cs
- SHA256Cng.cs
- DataColumnSelectionConverter.cs
- DataSourceView.cs
- TraceHandler.cs
- ListViewDataItem.cs
- CharConverter.cs
- ThicknessKeyFrameCollection.cs
- SelectionPattern.cs
- ViewEvent.cs
- NativeMethods.cs
- SystemDropShadowChrome.cs
- HttpCacheParams.cs
- OdbcConnectionString.cs
- DataGridViewColumnHeaderCell.cs
- DocumentGridContextMenu.cs
- ResXFileRef.cs
- TimelineGroup.cs
- EditBehavior.cs
- XPathItem.cs
- IfElseDesigner.xaml.cs
- BStrWrapper.cs
- ModuleBuilderData.cs
- NavigationEventArgs.cs
- ContentControl.cs
- InitializingNewItemEventArgs.cs
- RuntimeEnvironment.cs
- TextEncodedRawTextWriter.cs
- DataSourceConverter.cs
- OptimalTextSource.cs
- TransactionChannelFactory.cs
- NetNamedPipeSecurityMode.cs
- HttpModuleActionCollection.cs
- Validator.cs
- Rotation3DAnimationBase.cs
- OdbcCommand.cs
- ProtocolViolationException.cs
- LinkConverter.cs
- FormatSettings.cs
- SystemPens.cs
- ClientUrlResolverWrapper.cs
- ProxyManager.cs
- CompositeDuplexBindingElement.cs
- NavigationCommands.cs
- CultureTableRecord.cs
- SecurityTokenTypes.cs
- UdpDiscoveryEndpoint.cs
- State.cs
- X509CertificateCollection.cs
- ColorDialog.cs
- ActivityDesignerLayoutSerializers.cs
- InkCanvasAutomationPeer.cs
- UInt64Converter.cs
- TemplateControlParser.cs
- ApplyTemplatesAction.cs
- WebPartDisplayModeEventArgs.cs
- FullTrustAssembliesSection.cs
- HtmlLinkAdapter.cs
- SessionEndedEventArgs.cs
- Misc.cs
- CustomAttributeSerializer.cs
- GACMembershipCondition.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- OneWayChannelFactory.cs
- PrinterSettings.cs
- GeneralTransformCollection.cs
- Knowncolors.cs
- DesignerValidationSummaryAdapter.cs
- Memoizer.cs
- PackWebRequest.cs
- CodeCatchClauseCollection.cs
- Grid.cs
- DateRangeEvent.cs
- MailAddress.cs
- TextTreeTextElementNode.cs
- CachingHintValidation.cs
- LogicalCallContext.cs
- TextFormatterImp.cs
- XmlSchemaNotation.cs
- InheritedPropertyChangedEventArgs.cs
- TreeNodeCollection.cs
- BasicHttpSecurity.cs
- CertificateElement.cs
- BulletedListEventArgs.cs
- SqlDataSourceCache.cs
- PlanCompilerUtil.cs
- DebugView.cs
- PropertyRef.cs
- ResourcesGenerator.cs
- ListCollectionView.cs
- XsltArgumentList.cs
- XhtmlTextWriter.cs
- XmlSignificantWhitespace.cs
- DataGridViewRowHeaderCell.cs
- FixedSOMPageElement.cs