Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ //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.Retrieves the description text. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataObjectSettingDataEventArgs.cs
- safemediahandle.cs
- Model3D.cs
- InfoCardAsymmetricCrypto.cs
- ReadOnlyCollectionBase.cs
- WithStatement.cs
- DesignerLinkAdapter.cs
- XmlName.cs
- SQLConvert.cs
- MetadataArtifactLoaderCompositeResource.cs
- LoginCancelEventArgs.cs
- WindowsScroll.cs
- ThumbButtonInfoCollection.cs
- FreezableDefaultValueFactory.cs
- PageSettings.cs
- BreakRecordTable.cs
- MatrixCamera.cs
- ObjectList.cs
- SiteMapNodeItem.cs
- Timeline.cs
- SqlCrossApplyToCrossJoin.cs
- DateTimeConverter.cs
- DBCommand.cs
- ToolStripItem.cs
- EventSetter.cs
- AsyncDataRequest.cs
- StorageEntitySetMapping.cs
- IListConverters.cs
- ItemType.cs
- FrameworkElementFactoryMarkupObject.cs
- Effect.cs
- IpcManager.cs
- EntityContainerEntitySet.cs
- CultureSpecificCharacterBufferRange.cs
- ColorMatrix.cs
- SecurityStandardsManager.cs
- DataGridViewCellValidatingEventArgs.cs
- NamespaceQuery.cs
- TraceContextEventArgs.cs
- SingleSelectRootGridEntry.cs
- ResourceContainer.cs
- ParameterToken.cs
- DesignerObjectListAdapter.cs
- DataView.cs
- InstancePersistenceCommand.cs
- DataGridViewLinkCell.cs
- StylusPointDescription.cs
- CompilerErrorCollection.cs
- TabPanel.cs
- ItemsControl.cs
- FolderBrowserDialog.cs
- Events.cs
- Int32CAMarshaler.cs
- SolidColorBrush.cs
- SqlClientPermission.cs
- PrimitiveType.cs
- ProfileSettings.cs
- EntityDataSourceEntityTypeFilterItem.cs
- DbDeleteCommandTree.cs
- UpdateCommand.cs
- TextBoxBase.cs
- DataGridRelationshipRow.cs
- XmlSchemaInferenceException.cs
- Crc32.cs
- XPathDocumentIterator.cs
- BitmapMetadataEnumerator.cs
- ListDictionaryInternal.cs
- RoleGroup.cs
- RecognizerBase.cs
- InfoCardTrace.cs
- SslStream.cs
- PropertyAccessVisitor.cs
- Focus.cs
- TextBoxView.cs
- RequestCacheEntry.cs
- DiagnosticsConfigurationHandler.cs
- MULTI_QI.cs
- HashCodeCombiner.cs
- BindingEditor.xaml.cs
- DbException.cs
- IImplicitResourceProvider.cs
- TreeNode.cs
- BaseCodePageEncoding.cs
- CaseStatement.cs
- ConditionCollection.cs
- ConsumerConnectionPoint.cs
- Rule.cs
- DisplayInformation.cs
- Size.cs
- RangeBaseAutomationPeer.cs
- SessionEndedEventArgs.cs
- ConfigUtil.cs
- SubtreeProcessor.cs
- StorageEntityContainerMapping.cs
- HtmlEncodedRawTextWriter.cs
- TypeForwardedFromAttribute.cs
- DataGridPageChangedEventArgs.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Delay.cs
- XNodeNavigator.cs