Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XPathScanner.cs
- ZipIOLocalFileDataDescriptor.cs
- sqlstateclientmanager.cs
- WpfWebRequestHelper.cs
- DataGridItem.cs
- ListViewCancelEventArgs.cs
- BinaryCommonClasses.cs
- _CacheStreams.cs
- AuthenticationService.cs
- Parameter.cs
- SoapAttributeAttribute.cs
- MeshGeometry3D.cs
- HealthMonitoringSectionHelper.cs
- ReceiveActivityDesigner.cs
- NumericUpDownAccelerationCollection.cs
- ActivatedMessageQueue.cs
- FunctionUpdateCommand.cs
- AccessDataSourceDesigner.cs
- LongValidatorAttribute.cs
- TimeSpan.cs
- MethodBody.cs
- InfoCardClaimCollection.cs
- XDRSchema.cs
- Line.cs
- ToolStripSplitStackLayout.cs
- ObjectDataSource.cs
- HashHelper.cs
- IdentityReference.cs
- OleDbPermission.cs
- Propagator.ExtentPlaceholderCreator.cs
- HeaderedContentControl.cs
- Nodes.cs
- UdpTransportSettingsElement.cs
- FormViewRow.cs
- SystemIPInterfaceStatistics.cs
- OdbcFactory.cs
- RectangleGeometry.cs
- SymmetricKey.cs
- XmlConverter.cs
- ActiveXHost.cs
- MessageQueueEnumerator.cs
- RegexCompiler.cs
- IndividualDeviceConfig.cs
- BypassElement.cs
- FormClosingEvent.cs
- SqlUserDefinedTypeAttribute.cs
- VirtualizingPanel.cs
- SimpleTableProvider.cs
- XmlParserContext.cs
- VoiceInfo.cs
- DeflateStream.cs
- DocumentPageViewAutomationPeer.cs
- x509utils.cs
- ConfigXmlElement.cs
- NativeMethods.cs
- ToolStripSeparatorRenderEventArgs.cs
- Automation.cs
- PrintPreviewGraphics.cs
- ConfigurationStrings.cs
- WebDisplayNameAttribute.cs
- ScriptControlDescriptor.cs
- SelectingProviderEventArgs.cs
- MergeExecutor.cs
- ManagementExtension.cs
- SerializationSectionGroup.cs
- ObjectFullSpanRewriter.cs
- HttpClientCertificate.cs
- EmptyControlCollection.cs
- SoapInteropTypes.cs
- BackgroundFormatInfo.cs
- XpsSerializationException.cs
- ObjectDataSourceFilteringEventArgs.cs
- RangeBase.cs
- PersistenceProviderElement.cs
- EnumConverter.cs
- RewritingValidator.cs
- FontSource.cs
- UserControl.cs
- StringSorter.cs
- XmlRawWriterWrapper.cs
- WebBrowserProgressChangedEventHandler.cs
- PolyQuadraticBezierSegment.cs
- CreatingCookieEventArgs.cs
- ExchangeUtilities.cs
- WebControlAdapter.cs
- RegisteredHiddenField.cs
- NestedContainer.cs
- SqlDataSourceDesigner.cs
- KeyValueConfigurationElement.cs
- ConsoleKeyInfo.cs
- CanExecuteRoutedEventArgs.cs
- ResourceAssociationSetEnd.cs
- DesignerAutoFormatCollection.cs
- IgnorePropertiesAttribute.cs
- XmlIgnoreAttribute.cs
- VScrollBar.cs
- AttributeEmitter.cs
- ColumnMapTranslator.cs
- AssociationSetMetadata.cs
- TrackingStringDictionary.cs