Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / WebSysDisplayNameAttribute.cs / 1 / WebSysDisplayNameAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DisplayNameAttribute marks a property, event, or extender with a /// DisplayName. Visual designers can display this DisplayName when referencing /// the member. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class)] internal sealed class WebSysDisplayNameAttribute : DisplayNameAttribute { private bool replaced; ////// internal WebSysDisplayNameAttribute(string DisplayName) : base(DisplayName) { } ///Constructs a new sys DisplayName. ////// public override string DisplayName { get { if (!replaced) { replaced = true; DisplayNameValue = SR.GetString(base.DisplayName); } return base.DisplayName; } } public override object TypeId { get { return typeof(DisplayNameAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the DisplayName text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DisplayNameAttribute marks a property, event, or extender with a /// DisplayName. Visual designers can display this DisplayName when referencing /// the member. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class)] internal sealed class WebSysDisplayNameAttribute : DisplayNameAttribute { private bool replaced; ////// internal WebSysDisplayNameAttribute(string DisplayName) : base(DisplayName) { } ///Constructs a new sys DisplayName. ////// public override string DisplayName { get { if (!replaced) { replaced = true; DisplayNameValue = SR.GetString(base.DisplayName); } return base.DisplayName; } } public override object TypeId { get { return typeof(DisplayNameAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Retrieves the DisplayName text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PartitionerStatic.cs
- LongMinMaxAggregationOperator.cs
- VectorAnimationUsingKeyFrames.cs
- HttpRequest.cs
- KeyTimeConverter.cs
- ListViewGroupConverter.cs
- SystemGatewayIPAddressInformation.cs
- Filter.cs
- DbParameterCollection.cs
- GPPOINTF.cs
- ClientSideProviderDescription.cs
- DbParameterCollectionHelper.cs
- LingerOption.cs
- RestHandler.cs
- NameTable.cs
- ActivityBindForm.cs
- Camera.cs
- TCPListener.cs
- FormatConvertedBitmap.cs
- TableAdapterManagerGenerator.cs
- Window.cs
- ZipIOFileItemStream.cs
- SelectionRange.cs
- DataFormat.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XPathNavigatorKeyComparer.cs
- KerberosSecurityTokenProvider.cs
- Internal.cs
- SessionEndingEventArgs.cs
- ListViewCancelEventArgs.cs
- CookieHandler.cs
- AutomationTextAttribute.cs
- EmulateRecognizeCompletedEventArgs.cs
- ReaderWriterLockWrapper.cs
- StylusButton.cs
- Menu.cs
- TableLayoutPanelResizeGlyph.cs
- InheritanceUI.cs
- TransformedBitmap.cs
- MimeReturn.cs
- Stream.cs
- RuntimeVariableList.cs
- HttpCookieCollection.cs
- ProfileWorkflowElement.cs
- OdbcCommandBuilder.cs
- KeyBinding.cs
- MemberAssignment.cs
- ZipFileInfo.cs
- configsystem.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ListChangedEventArgs.cs
- RoleGroup.cs
- CursorConverter.cs
- InvalidEnumArgumentException.cs
- backend.cs
- CredentialCache.cs
- XmlNullResolver.cs
- MasterPageBuildProvider.cs
- BaseCodeDomTreeGenerator.cs
- ControlEvent.cs
- DataGridTablesFactory.cs
- DynamicRendererThreadManager.cs
- IsolationInterop.cs
- X509Certificate.cs
- PrintPreviewControl.cs
- RowToFieldTransformer.cs
- HttpMethodConstraint.cs
- FormsIdentity.cs
- XmlNodeComparer.cs
- TransformerConfigurationWizardBase.cs
- FormsAuthenticationConfiguration.cs
- COM2ExtendedBrowsingHandler.cs
- PropertySegmentSerializationProvider.cs
- CellTreeNodeVisitors.cs
- InvalidComObjectException.cs
- SettingsBase.cs
- SafeRegistryKey.cs
- ContainerParaClient.cs
- ImageClickEventArgs.cs
- DataGridItemEventArgs.cs
- XmlSerializerFactory.cs
- AccessorTable.cs
- cache.cs
- EntityExpressionVisitor.cs
- ProcessHostConfigUtils.cs
- DocumentPageViewAutomationPeer.cs
- HttpVersion.cs
- DataContractAttribute.cs
- DtcInterfaces.cs
- LinqExpressionNormalizer.cs
- QuinticEase.cs
- OracleBoolean.cs
- cookieexception.cs
- Sql8ConformanceChecker.cs
- ResolveNameEventArgs.cs
- StringConcat.cs
- HotSpot.cs
- TextSearch.cs
- ProgressBarAutomationPeer.cs
- NavigationPropertyEmitter.cs