Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptingSectionGroup.cs
- DataBindEngine.cs
- IIS7WorkerRequest.cs
- CacheForPrimitiveTypes.cs
- NullableLongAverageAggregationOperator.cs
- XmlDataSourceNodeDescriptor.cs
- GridView.cs
- SqlReorderer.cs
- GraphicsPathIterator.cs
- ObjectParameterCollection.cs
- ReadOnlyCollectionBase.cs
- ManipulationInertiaStartingEventArgs.cs
- Guid.cs
- RegexGroup.cs
- HelpEvent.cs
- XmlIlGenerator.cs
- MachineKeySection.cs
- CacheOutputQuery.cs
- ExtendedPropertiesHandler.cs
- DataGridViewDataConnection.cs
- StylusTip.cs
- InternalSafeNativeMethods.cs
- ConstantCheck.cs
- BitStack.cs
- ClientSession.cs
- GeneralTransform3D.cs
- AppDomainProtocolHandler.cs
- DataGridViewAddColumnDialog.cs
- UIElement.cs
- TrackPoint.cs
- WebPartVerb.cs
- ObjectListDesigner.cs
- ArraySegment.cs
- GenerateScriptTypeAttribute.cs
- EntityDataSourceChangedEventArgs.cs
- TraceXPathNavigator.cs
- DataTrigger.cs
- Separator.cs
- RemoteWebConfigurationHostServer.cs
- PanelDesigner.cs
- ScalarOps.cs
- DataGridViewRowHeaderCell.cs
- ByteAnimation.cs
- DynamicDataResources.Designer.cs
- VectorAnimationBase.cs
- SeparatorAutomationPeer.cs
- FileDataSourceCache.cs
- SafeFileMapViewHandle.cs
- MetadataItemEmitter.cs
- DataGridLength.cs
- XmlNodeChangedEventManager.cs
- TransformationRules.cs
- StringReader.cs
- _NegotiateClient.cs
- XmlArrayItemAttribute.cs
- RequiredFieldValidator.cs
- CryptoProvider.cs
- WriterOutput.cs
- BooleanAnimationUsingKeyFrames.cs
- StylusButtonEventArgs.cs
- _KerberosClient.cs
- WindowsListViewGroupHelper.cs
- PointCollectionValueSerializer.cs
- SqlMetaData.cs
- CustomAttribute.cs
- SaveFileDialog.cs
- DesignerRegionMouseEventArgs.cs
- MachineSettingsSection.cs
- XmlDocumentSchema.cs
- CodeValidator.cs
- TemplateBaseAction.cs
- Group.cs
- PolygonHotSpot.cs
- TemplateControlParser.cs
- ConnectionPoolManager.cs
- PlatformNotSupportedException.cs
- InvalidCastException.cs
- ObjectHandle.cs
- DbConnectionPoolOptions.cs
- SettingsSection.cs
- MultipleViewProviderWrapper.cs
- ItemCollectionEditor.cs
- TypedTableGenerator.cs
- DataGridViewBand.cs
- SerializationInfoEnumerator.cs
- DayRenderEvent.cs
- Lookup.cs
- ConfigurationSettings.cs
- Translator.cs
- ApplicationServiceManager.cs
- FileDialogPermission.cs
- HMACSHA384.cs
- MenuTracker.cs
- GeometryModel3D.cs
- ReaderContextStackData.cs
- Thickness.cs
- DataGridTablesFactory.cs
- TextureBrush.cs
- ProgressBarBrushConverter.cs
- SvcFileManager.cs