Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DrawingGroup.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- JapaneseCalendar.cs
- counter.cs
- VoiceInfo.cs
- EntityCommandCompilationException.cs
- GroupDescription.cs
- XPathDescendantIterator.cs
- TextServicesProperty.cs
- _ConnectOverlappedAsyncResult.cs
- DataObjectFieldAttribute.cs
- tibetanshape.cs
- TextTreeRootNode.cs
- IndexedWhereQueryOperator.cs
- Iis7Helper.cs
- ZipIOExtraFieldZip64Element.cs
- HostUtils.cs
- SQLBinary.cs
- TextEditorThreadLocalStore.cs
- StylusPointPropertyUnit.cs
- WebDescriptionAttribute.cs
- AVElementHelper.cs
- DesignParameter.cs
- WinEventWrap.cs
- DataGridViewCellStyle.cs
- MatrixAnimationUsingPath.cs
- CellQuery.cs
- Icon.cs
- XmlEventCache.cs
- InstanceData.cs
- PropertyGrid.cs
- DictationGrammar.cs
- DataSourceExpressionCollection.cs
- SoapSchemaMember.cs
- TextTreeText.cs
- DataTableClearEvent.cs
- HttpHandlerAction.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Positioning.cs
- ConstantExpression.cs
- XmlSchemaIdentityConstraint.cs
- WebPartEditorApplyVerb.cs
- MouseGesture.cs
- DropShadowEffect.cs
- XmlJsonReader.cs
- DriveInfo.cs
- XPathDocumentBuilder.cs
- TextDecorationCollection.cs
- SortQuery.cs
- DomNameTable.cs
- SplashScreen.cs
- AsymmetricKeyExchangeDeformatter.cs
- SystemIPInterfaceStatistics.cs
- DetailsView.cs
- HyperLinkColumn.cs
- TextProviderWrapper.cs
- HyperLink.cs
- QilParameter.cs
- Parser.cs
- TransformerInfoCollection.cs
- DiscoveryClientElement.cs
- GPRECT.cs
- BitmapDecoder.cs
- SqlConnectionPoolGroupProviderInfo.cs
- StrongName.cs
- dataSvcMapFileLoader.cs
- HttpBrowserCapabilitiesWrapper.cs
- RangeValidator.cs
- MetafileHeaderEmf.cs
- PageAdapter.cs
- FilteredDataSetHelper.cs
- SynchronizingStream.cs
- SourceFileBuildProvider.cs
- DesignerCatalogPartChrome.cs
- TextSchema.cs
- ReadWriteSpinLock.cs
- EventProxy.cs
- SpeechRecognitionEngine.cs
- TreeNodeEventArgs.cs
- TiffBitmapEncoder.cs
- AudioStateChangedEventArgs.cs
- SoapObjectInfo.cs
- BCryptHashAlgorithm.cs
- MetadataCache.cs
- HttpClientChannel.cs
- SystemUnicastIPAddressInformation.cs
- AspNetCacheProfileAttribute.cs
- WebPartsSection.cs
- DependencyPropertyKind.cs
- Context.cs
- ListViewTableCell.cs
- LoadedEvent.cs
- DataServiceKeyAttribute.cs
- WindowHideOrCloseTracker.cs
- ServiceDesigner.cs
- SupportingTokenSecurityTokenResolver.cs
- DocumentsTrace.cs
- DecoderReplacementFallback.cs
- coordinatorscratchpad.cs
- Cursors.cs