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
- ServiceReference.cs
- ServerType.cs
- DetailsViewModeEventArgs.cs
- XmlStreamNodeWriter.cs
- SmtpFailedRecipientsException.cs
- TraceSection.cs
- FloatMinMaxAggregationOperator.cs
- DetailsView.cs
- ListViewContainer.cs
- WebPartTransformer.cs
- FormsAuthentication.cs
- AdornerDecorator.cs
- DataColumnMappingCollection.cs
- DataGridTextBox.cs
- Parsers.cs
- RoleGroup.cs
- DataGridSortCommandEventArgs.cs
- VariableQuery.cs
- SudsWriter.cs
- SmiSettersStream.cs
- SharedPersonalizationStateInfo.cs
- PinnedBufferMemoryStream.cs
- HtmlInputReset.cs
- InfoCardConstants.cs
- DesignRelationCollection.cs
- COM2ComponentEditor.cs
- ModelItemDictionaryImpl.cs
- XmlAnyAttributeAttribute.cs
- Resources.Designer.cs
- CustomBindingCollectionElement.cs
- CollectionEditor.cs
- XmlAttributes.cs
- ValidatingCollection.cs
- Helper.cs
- VirtualPathProvider.cs
- tooltip.cs
- IgnoreSection.cs
- ResponseStream.cs
- DetailsViewInsertEventArgs.cs
- TreeViewEvent.cs
- TimeEnumHelper.cs
- SqlUserDefinedTypeAttribute.cs
- InstancePersistenceEvent.cs
- ErrorsHelper.cs
- XmlSchemaIdentityConstraint.cs
- CompilationRelaxations.cs
- FileDetails.cs
- StandardToolWindows.cs
- PeerName.cs
- ExecutorLocksHeldException.cs
- CatalogPartCollection.cs
- StringSorter.cs
- TagPrefixInfo.cs
- CategoryAttribute.cs
- ExpressionEditorAttribute.cs
- VisualCollection.cs
- ConfigurationException.cs
- ApplicationInfo.cs
- Literal.cs
- FontInfo.cs
- ConfigurationPropertyCollection.cs
- ToolStrip.cs
- CompilerGlobalScopeAttribute.cs
- RepeatButtonAutomationPeer.cs
- ReadOnlyHierarchicalDataSource.cs
- handlecollector.cs
- ListViewInsertionMark.cs
- BuildResultCache.cs
- HwndKeyboardInputProvider.cs
- IIS7WorkerRequest.cs
- TransformProviderWrapper.cs
- StorageSetMapping.cs
- MarshalByRefObject.cs
- BrowserCapabilitiesFactory.cs
- SubtreeProcessor.cs
- PowerModeChangedEventArgs.cs
- LineInfo.cs
- FrugalList.cs
- WebPartPersonalization.cs
- DbParameterCollectionHelper.cs
- DbConnectionInternal.cs
- HtmlInputReset.cs
- SecurityRuntime.cs
- EntityChangedParams.cs
- CapabilitiesPattern.cs
- QilIterator.cs
- AsymmetricSignatureDeformatter.cs
- ProfileSettingsCollection.cs
- Keywords.cs
- CheckBoxBaseAdapter.cs
- DBCommandBuilder.cs
- InvocationExpression.cs
- NativeMethods.cs
- Transactions.cs
- CompressedStack.cs
- Int32Rect.cs
- PackagePart.cs
- AnnotationHelper.cs
- WorkflowOperationInvoker.cs
- ValidatorCollection.cs