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
- TypeUsageBuilder.cs
- RawStylusSystemGestureInputReport.cs
- MdImport.cs
- LookupBindingPropertiesAttribute.cs
- MouseBinding.cs
- UxThemeWrapper.cs
- TypeContext.cs
- oledbmetadatacollectionnames.cs
- OperationInvokerTrace.cs
- Attribute.cs
- TraceContextRecord.cs
- ContentPathSegment.cs
- ReachSerializer.cs
- ButtonAutomationPeer.cs
- FileDetails.cs
- TextCollapsingProperties.cs
- AssemblyAssociatedContentFileAttribute.cs
- ReturnType.cs
- EventSinkHelperWriter.cs
- ViewBase.cs
- DynamicControl.cs
- FixedDocument.cs
- ProfileInfo.cs
- OrderedEnumerableRowCollection.cs
- ToolStripSettings.cs
- OdbcUtils.cs
- EnterpriseServicesHelper.cs
- TextBreakpoint.cs
- mda.cs
- TypeResolver.cs
- TreeViewItemAutomationPeer.cs
- ScalarType.cs
- CompressStream.cs
- MsmqBindingMonitor.cs
- ArraySubsetEnumerator.cs
- Int16AnimationBase.cs
- SrgsElementFactoryCompiler.cs
- WebPartEditorApplyVerb.cs
- _TLSstream.cs
- DashStyles.cs
- FlowDecisionLabelFeature.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- URIFormatException.cs
- ButtonChrome.cs
- GcSettings.cs
- Calendar.cs
- XmlUnspecifiedAttribute.cs
- ValueUtilsSmi.cs
- TraceContextEventArgs.cs
- LambdaCompiler.ControlFlow.cs
- codemethodreferenceexpression.cs
- Axis.cs
- NetworkStream.cs
- EventLogEntryCollection.cs
- GZipStream.cs
- DataTablePropertyDescriptor.cs
- ReverseComparer.cs
- BlurBitmapEffect.cs
- TransformCryptoHandle.cs
- ContextProperty.cs
- Label.cs
- RegexNode.cs
- TextTreeRootTextBlock.cs
- WebPartDisplayModeCollection.cs
- BulletedList.cs
- Attributes.cs
- LinkButton.cs
- ListParagraph.cs
- DataFormats.cs
- EditorPartChrome.cs
- CompilationLock.cs
- XmlFormatMapping.cs
- GridViewPageEventArgs.cs
- XmlAtomicValue.cs
- CellPartitioner.cs
- CoordinationService.cs
- OLEDB_Util.cs
- AsyncPostBackErrorEventArgs.cs
- PropertyItemInternal.cs
- CodeAttributeDeclarationCollection.cs
- DataGridViewColumnStateChangedEventArgs.cs
- StructuredCompositeActivityDesigner.cs
- HttpResponseWrapper.cs
- WinFormsUtils.cs
- LinqDataSourceDeleteEventArgs.cs
- httpapplicationstate.cs
- SymbolEqualComparer.cs
- PathNode.cs
- SafeRightsManagementEnvironmentHandle.cs
- SupportsEventValidationAttribute.cs
- DataSourceCacheDurationConverter.cs
- TimeStampChecker.cs
- AmbiguousMatchException.cs
- Faults.cs
- WriteableBitmap.cs
- PrtTicket_Editor.cs
- DiscriminatorMap.cs
- ResolveCriteria11.cs
- ClipboardProcessor.cs
- BooleanFacetDescriptionElement.cs