Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the description text. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMapDesignerDataSourceView.cs
- WeakEventTable.cs
- NGCSerializerAsync.cs
- XmlDesignerDataSourceView.cs
- ConnectorDragDropGlyph.cs
- XmlDataLoader.cs
- DataViewSettingCollection.cs
- BufferBuilder.cs
- TimeStampChecker.cs
- UrlAuthorizationModule.cs
- MsmqNonTransactedPoisonHandler.cs
- ProtocolReflector.cs
- Exceptions.cs
- IsolatedStoragePermission.cs
- FontStyles.cs
- AffineTransform3D.cs
- PauseStoryboard.cs
- Item.cs
- Translator.cs
- WindowInteractionStateTracker.cs
- NotifyInputEventArgs.cs
- AssemblySettingAttributes.cs
- IsolatedStorageFileStream.cs
- UnknownBitmapEncoder.cs
- PeerApplicationLaunchInfo.cs
- InheritanceContextChangedEventManager.cs
- SourceFileBuildProvider.cs
- TiffBitmapDecoder.cs
- EventLogger.cs
- PieceDirectory.cs
- _Connection.cs
- IntranetCredentialPolicy.cs
- EntityDataSourceMemberPath.cs
- XmlQueryContext.cs
- ComponentChangedEvent.cs
- BitConverter.cs
- PeerResolverSettings.cs
- DataKeyArray.cs
- ByteStorage.cs
- FrameworkPropertyMetadata.cs
- EncoderNLS.cs
- SqlFacetAttribute.cs
- GridItemProviderWrapper.cs
- XPathEmptyIterator.cs
- MetabaseSettings.cs
- StickyNote.cs
- CodeDirectoryCompiler.cs
- HttpSocketManager.cs
- HebrewCalendar.cs
- DataSetFieldSchema.cs
- SizeAnimationUsingKeyFrames.cs
- InputScopeManager.cs
- DataReceivedEventArgs.cs
- RemoteWebConfigurationHostServer.cs
- MonthChangedEventArgs.cs
- TabControlCancelEvent.cs
- SqlCommand.cs
- EndPoint.cs
- TdsParserStaticMethods.cs
- TypeConverter.cs
- RuleConditionDialog.cs
- XmlSchemaType.cs
- ToolboxComponentsCreatedEventArgs.cs
- ResourceReferenceExpression.cs
- ClientRolePrincipal.cs
- COM2PictureConverter.cs
- MILUtilities.cs
- StrokeSerializer.cs
- entityreference_tresulttype.cs
- TransformGroup.cs
- SkipQueryOptionExpression.cs
- WebPartEditorCancelVerb.cs
- WebException.cs
- XmlWrappingWriter.cs
- ArrayList.cs
- FunctionMappingTranslator.cs
- _ListenerAsyncResult.cs
- DragEvent.cs
- StrokeNodeOperations2.cs
- COM2PictureConverter.cs
- AccessDataSource.cs
- _emptywebproxy.cs
- ByteStreamGeometryContext.cs
- UInt32Converter.cs
- IPHostEntry.cs
- WinFormsUtils.cs
- CodeAssignStatement.cs
- SqlUtils.cs
- BindingEntityInfo.cs
- EventRoute.cs
- ToolStripSplitButton.cs
- XmlCharCheckingWriter.cs
- EntityContainerEmitter.cs
- CheckBoxBaseAdapter.cs
- RuleInfoComparer.cs
- EntityProviderFactory.cs
- ResourceReferenceKeyNotFoundException.cs
- DesignerPerfEventProvider.cs
- SqlConnectionHelper.cs
- NativeMethods.cs