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
- InputProcessorProfilesLoader.cs
- TextPattern.cs
- ClientSponsor.cs
- KeyEvent.cs
- MouseGesture.cs
- Byte.cs
- PermissionListSet.cs
- ProviderCommandInfoUtils.cs
- DataRowExtensions.cs
- SchemaImporterExtensionElement.cs
- OneOfElement.cs
- BitmapEffectDrawing.cs
- SimpleWebHandlerParser.cs
- WebBrowserDesigner.cs
- Util.cs
- LinkedDataMemberFieldEditor.cs
- AutomationPropertyInfo.cs
- EventWaitHandleSecurity.cs
- HttpCookieCollection.cs
- RoleManagerEventArgs.cs
- PassportAuthenticationModule.cs
- AssertHelper.cs
- AnnotationHighlightLayer.cs
- LoadGrammarCompletedEventArgs.cs
- DescriptionAttribute.cs
- CertificateManager.cs
- RowToParametersTransformer.cs
- Int16AnimationUsingKeyFrames.cs
- ConnectionStringSettingsCollection.cs
- ColumnWidthChangingEvent.cs
- Tracking.cs
- DataGridItemEventArgs.cs
- OdbcDataReader.cs
- BasicExpressionVisitor.cs
- _Rfc2616CacheValidators.cs
- TreeViewBindingsEditorForm.cs
- DataObjectPastingEventArgs.cs
- QilLiteral.cs
- NameTable.cs
- NameValueCollection.cs
- AdornerDecorator.cs
- ChineseLunisolarCalendar.cs
- ConditionalAttribute.cs
- AutomationPropertyInfo.cs
- PermissionSetEnumerator.cs
- ItemDragEvent.cs
- BinaryNode.cs
- CatalogPartCollection.cs
- SocketInformation.cs
- SmtpReplyReaderFactory.cs
- ProfileServiceManager.cs
- ScriptReferenceEventArgs.cs
- StylusSystemGestureEventArgs.cs
- CompilerScopeManager.cs
- CfgParser.cs
- InitializationEventAttribute.cs
- LinqDataSourceContextEventArgs.cs
- HtmlWindow.cs
- DataContractSerializerFaultFormatter.cs
- XmlNavigatorFilter.cs
- CorePropertiesFilter.cs
- CodeTryCatchFinallyStatement.cs
- MSAAWinEventWrap.cs
- XmlWrappingWriter.cs
- DecimalAverageAggregationOperator.cs
- XmlChildEnumerator.cs
- ReferencedAssembly.cs
- State.cs
- ExpanderAutomationPeer.cs
- TypeReference.cs
- CustomSignedXml.cs
- ControlPropertyNameConverter.cs
- StringSource.cs
- FigureParagraph.cs
- sqlinternaltransaction.cs
- HelpEvent.cs
- LocalizedNameDescriptionPair.cs
- ScriptManagerProxy.cs
- Attributes.cs
- XmlFormatReaderGenerator.cs
- CssStyleCollection.cs
- DictationGrammar.cs
- CatalogPartChrome.cs
- BindingObserver.cs
- MasterPageParser.cs
- OleDbRowUpdatingEvent.cs
- MobileListItemCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- CodeTypeDelegate.cs
- QuaternionAnimationBase.cs
- StreamInfo.cs
- MetadataPropertyvalue.cs
- _HeaderInfoTable.cs
- GridViewPageEventArgs.cs
- RegularExpressionValidator.cs
- HttpCachePolicyElement.cs
- SourceChangedEventArgs.cs
- COAUTHINFO.cs
- BuildProviderCollection.cs
- HashAlgorithm.cs