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
- DataTable.cs
- Site.cs
- XslNumber.cs
- IntegerValidatorAttribute.cs
- XmlExtensionFunction.cs
- RowSpanVector.cs
- HealthMonitoringSection.cs
- DecoderFallback.cs
- XmlSortKeyAccumulator.cs
- AutomationPropertyInfo.cs
- LambdaCompiler.Unary.cs
- ContainerSelectorBehavior.cs
- AssemblyResolver.cs
- XmlAttribute.cs
- InstanceStoreQueryResult.cs
- ToolStripContainer.cs
- DbXmlEnabledProviderManifest.cs
- ComplexTypeEmitter.cs
- GroupByQueryOperator.cs
- BitmapMetadata.cs
- IndentTextWriter.cs
- DynamicValueConverter.cs
- HandledEventArgs.cs
- XmlBindingWorker.cs
- FileDetails.cs
- Converter.cs
- EditCommandColumn.cs
- XmlReaderDelegator.cs
- XmlSchemaSequence.cs
- IgnoreDataMemberAttribute.cs
- UIElement.cs
- ItemTypeToolStripMenuItem.cs
- ImageDrawing.cs
- XmlElementList.cs
- OdbcFactory.cs
- AnnotationComponentManager.cs
- CatalogPartChrome.cs
- smtppermission.cs
- RectValueSerializer.cs
- FormsAuthenticationConfiguration.cs
- XmlSchemaSimpleContent.cs
- ValidatingPropertiesEventArgs.cs
- TypeUtil.cs
- DrawingDrawingContext.cs
- MultiByteCodec.cs
- QueryTask.cs
- RoleManagerModule.cs
- OdbcConnectionFactory.cs
- SmiEventSink.cs
- PartialList.cs
- Effect.cs
- sqlnorm.cs
- PagesSection.cs
- TreeNodeCollection.cs
- MultiTrigger.cs
- StsCommunicationException.cs
- SqlBulkCopy.cs
- baseaxisquery.cs
- EventLogPermissionEntry.cs
- MediaEntryAttribute.cs
- SchemaElementDecl.cs
- ResourceType.cs
- CngAlgorithm.cs
- PropertyGridCommands.cs
- ContextInformation.cs
- ObjectListField.cs
- FunctionDetailsReader.cs
- FramingDecoders.cs
- PageBuildProvider.cs
- ThicknessAnimationBase.cs
- XmlQualifiedName.cs
- EventLogPermissionAttribute.cs
- TypeForwardedToAttribute.cs
- SimpleWebHandlerParser.cs
- AccessDataSourceView.cs
- IfAction.cs
- DbMetaDataFactory.cs
- BigInt.cs
- ControlUtil.cs
- HtmlElementEventArgs.cs
- HitTestDrawingContextWalker.cs
- FlatButtonAppearance.cs
- DesignerActionVerbList.cs
- Stackframe.cs
- basecomparevalidator.cs
- Dispatcher.cs
- LineGeometry.cs
- DayRenderEvent.cs
- TopClause.cs
- FrameworkObject.cs
- PeerCollaboration.cs
- PeerInputChannelListener.cs
- DesignerLoader.cs
- WindowsGraphics2.cs
- GetImportedCardRequest.cs
- DbModificationCommandTree.cs
- NameObjectCollectionBase.cs
- autovalidator.cs
- ProviderCommandInfoUtils.cs
- XPathItem.cs