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
- ImageAttributes.cs
- SourceLineInfo.cs
- _CacheStreams.cs
- HtmlInputControl.cs
- Latin1Encoding.cs
- PenContext.cs
- SpellerHighlightLayer.cs
- DataSourceView.cs
- UIInitializationException.cs
- ProviderConnectionPointCollection.cs
- CharEntityEncoderFallback.cs
- ObjectDataSourceDesigner.cs
- WindowsImpersonationContext.cs
- CodeSubDirectory.cs
- QuarticEase.cs
- SoapEnumAttribute.cs
- DataExpression.cs
- WindowsGraphicsCacheManager.cs
- ScriptReference.cs
- IODescriptionAttribute.cs
- SystemUnicastIPAddressInformation.cs
- XmlIlTypeHelper.cs
- PenCursorManager.cs
- contentDescriptor.cs
- DataGridViewCellValueEventArgs.cs
- MetadataCache.cs
- CodeCatchClause.cs
- EllipticalNodeOperations.cs
- RotationValidation.cs
- SystemIPv4InterfaceProperties.cs
- DesignerActionTextItem.cs
- LowerCaseStringConverter.cs
- Events.cs
- LockedBorderGlyph.cs
- Popup.cs
- ProfilePropertySettings.cs
- QueryIntervalOp.cs
- SeekableReadStream.cs
- StateMachineSubscription.cs
- MarkupExtensionReturnTypeAttribute.cs
- FacetDescriptionElement.cs
- PathGeometry.cs
- Color.cs
- ServiceContractViewControl.Designer.cs
- CodeArrayIndexerExpression.cs
- EventHandlerService.cs
- AccessibleObject.cs
- ZipIOLocalFileHeader.cs
- InArgumentConverter.cs
- FixedSOMTableRow.cs
- Configuration.cs
- MembershipSection.cs
- LineVisual.cs
- Publisher.cs
- SourceInterpreter.cs
- ServicePointManagerElement.cs
- XmlSecureResolver.cs
- ImageKeyConverter.cs
- TypefaceMetricsCache.cs
- URIFormatException.cs
- SystemWebCachingSectionGroup.cs
- CryptoStream.cs
- DefaultTraceListener.cs
- NativeMethodsCLR.cs
- HostedHttpContext.cs
- WeakReferenceList.cs
- WebPartCollection.cs
- CompressedStack.cs
- StackBuilderSink.cs
- OwnerDrawPropertyBag.cs
- MailDefinitionBodyFileNameEditor.cs
- ProcessHostFactoryHelper.cs
- FixedSOMPageConstructor.cs
- TaskSchedulerException.cs
- AnchoredBlock.cs
- TemplateGroupCollection.cs
- DesignerMetadata.cs
- SoapSchemaExporter.cs
- ActivityMarkupSerializer.cs
- TcpHostedTransportConfiguration.cs
- DataGridViewCellStyle.cs
- AxisAngleRotation3D.cs
- SoapReflectionImporter.cs
- Setter.cs
- TreeNodeCollection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- SessionPageStateSection.cs
- DocumentPageHost.cs
- ApplicationDirectoryMembershipCondition.cs
- TreeViewImageKeyConverter.cs
- Compilation.cs
- _AutoWebProxyScriptEngine.cs
- BinHexDecoder.cs
- ObjectTokenCategory.cs
- SocketCache.cs
- TextServicesContext.cs
- ResolveNameEventArgs.cs
- AtlasWeb.Designer.cs
- ProviderUtil.cs
- RuleRefElement.cs