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
- AppDomain.cs
- ExpandableObjectConverter.cs
- InputMethodStateChangeEventArgs.cs
- SafeHandle.cs
- ColorEditor.cs
- PropertyGeneratedEventArgs.cs
- XslAst.cs
- StylusEventArgs.cs
- MulticastIPAddressInformationCollection.cs
- StrokeRenderer.cs
- FontStretch.cs
- PkcsMisc.cs
- Oid.cs
- SqlDependencyListener.cs
- WeakEventTable.cs
- ApplyImportsAction.cs
- NameValuePermission.cs
- Roles.cs
- DetailsViewUpdatedEventArgs.cs
- ArgumentValueSerializer.cs
- ConnectionPoint.cs
- PropertyChangedEventManager.cs
- XmlIncludeAttribute.cs
- SqlRowUpdatingEvent.cs
- ScriptControlDescriptor.cs
- RepeaterCommandEventArgs.cs
- DispatcherFrame.cs
- SelectedDatesCollection.cs
- TreeViewBindingsEditor.cs
- TextBoxBaseDesigner.cs
- StreamReader.cs
- X509UI.cs
- MemberMaps.cs
- RuleAttributes.cs
- UnsafeNativeMethodsPenimc.cs
- BitmapFrame.cs
- EncryptedData.cs
- PrintController.cs
- indexingfiltermarshaler.cs
- MemoryRecordBuffer.cs
- RichTextBoxConstants.cs
- WindowsListViewItemCheckBox.cs
- hwndwrapper.cs
- DrawingContextDrawingContextWalker.cs
- XmlQueryContext.cs
- EntityDesignPluralizationHandler.cs
- WebCategoryAttribute.cs
- HitTestWithGeometryDrawingContextWalker.cs
- FlowDocumentFormatter.cs
- RichTextBoxDesigner.cs
- DesignBindingPropertyDescriptor.cs
- DoubleStorage.cs
- ResourcesChangeInfo.cs
- SingleObjectCollection.cs
- serverconfig.cs
- QueryContinueDragEventArgs.cs
- StorageInfo.cs
- MethodCallExpression.cs
- RemoteX509AsymmetricSecurityKey.cs
- BufferAllocator.cs
- ReverseInheritProperty.cs
- PointLight.cs
- PerformanceCounterManager.cs
- Drawing.cs
- DataControlPagerLinkButton.cs
- EditorAttribute.cs
- PatternMatcher.cs
- CrossAppDomainChannel.cs
- CompatibleComparer.cs
- ComponentDispatcher.cs
- PackageFilter.cs
- CopyOfAction.cs
- CellTreeNodeVisitors.cs
- CollectionsUtil.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MergeFailedEvent.cs
- LookupNode.cs
- PassportAuthenticationEventArgs.cs
- GlyphRunDrawing.cs
- ConfigPathUtility.cs
- sqlinternaltransaction.cs
- InputScope.cs
- InvalidPropValue.cs
- LassoSelectionBehavior.cs
- DataGridTemplateColumn.cs
- ListViewDesigner.cs
- XsltConvert.cs
- KeyConstraint.cs
- FilterEventArgs.cs
- OutputCacheSection.cs
- EntityTypeEmitter.cs
- XmlSchemaGroup.cs
- BinaryMethodMessage.cs
- ProcessInfo.cs
- UserInitiatedNavigationPermission.cs
- DefaultMemberAttribute.cs
- SqlServices.cs
- New.cs
- RegisteredExpandoAttribute.cs
- ImageButton.cs