Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the description text. ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContractUtils.cs
- ToolStripGrip.cs
- ObjRef.cs
- ActiveDocumentEvent.cs
- TypeResolver.cs
- RSAOAEPKeyExchangeFormatter.cs
- BitmapInitialize.cs
- SystemUnicastIPAddressInformation.cs
- TabletDeviceInfo.cs
- CustomErrorsSectionWrapper.cs
- XmlRawWriter.cs
- DataGridViewLinkCell.cs
- CodeArrayCreateExpression.cs
- StateMachine.cs
- HandlerFactoryCache.cs
- FixedSOMTableRow.cs
- RawStylusSystemGestureInputReport.cs
- LocatorGroup.cs
- DesignConnectionCollection.cs
- basecomparevalidator.cs
- Console.cs
- XmlReader.cs
- HttpHandlerAction.cs
- SafeReadContext.cs
- BinaryFormatter.cs
- ObjectDataSourceSelectingEventArgs.cs
- TranslateTransform.cs
- Object.cs
- TemplateBuilder.cs
- ExpressionBuilderCollection.cs
- ToolboxBitmapAttribute.cs
- WindowsSolidBrush.cs
- TransformBlockRequest.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Cell.cs
- RetrieveVirtualItemEventArgs.cs
- SafeArrayTypeMismatchException.cs
- datacache.cs
- SystemColors.cs
- DataGridViewCell.cs
- oledbconnectionstring.cs
- If.cs
- DelimitedListTraceListener.cs
- Utils.cs
- ResourceDisplayNameAttribute.cs
- AsyncCompletedEventArgs.cs
- ControlValuePropertyAttribute.cs
- PageSetupDialog.cs
- AddInBase.cs
- HelpEvent.cs
- JapaneseLunisolarCalendar.cs
- UIElementParaClient.cs
- SchemaType.cs
- VariableBinder.cs
- odbcmetadatacolumnnames.cs
- WeakRefEnumerator.cs
- XNodeSchemaApplier.cs
- AutomationElement.cs
- CellTreeNodeVisitors.cs
- WindowManager.cs
- WSDualHttpBinding.cs
- ContentFilePart.cs
- CounterSampleCalculator.cs
- HttpApplicationStateBase.cs
- ListItem.cs
- LinkConverter.cs
- iisPickupDirectory.cs
- CustomPopupPlacement.cs
- Types.cs
- TreeView.cs
- IndicCharClassifier.cs
- safex509handles.cs
- Point3DCollection.cs
- XmlRawWriterWrapper.cs
- TableAdapterManagerNameHandler.cs
- EdmItemCollection.cs
- EmptyArray.cs
- XmlWrappingReader.cs
- PersistChildrenAttribute.cs
- ClientScriptManager.cs
- DbConnectionPoolCounters.cs
- AccessDataSourceWizardForm.cs
- StartUpEventArgs.cs
- Console.cs
- CallContext.cs
- basevalidator.cs
- OdbcParameter.cs
- GridViewUpdateEventArgs.cs
- InputLanguageManager.cs
- ClaimComparer.cs
- XPathNavigatorKeyComparer.cs
- LoadItemsEventArgs.cs
- UiaCoreApi.cs
- WeakEventManager.cs
- SystemEvents.cs
- Vector3DAnimationBase.cs
- ClientScriptItemCollection.cs
- SelectionRange.cs
- XmlAttributeCache.cs
- TypeDescriptorContext.cs