Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MetadataArtifactLoaderCompositeFile.cs
- AspCompat.cs
- DropSource.cs
- ServiceHttpModule.cs
- WindowsSecurityToken.cs
- WebPartConnection.cs
- InputMethodStateTypeInfo.cs
- DataGridCaption.cs
- HtmlDocument.cs
- HttpWriter.cs
- TaskForm.cs
- ObjectCache.cs
- GridViewCancelEditEventArgs.cs
- SelectionRange.cs
- FileAccessException.cs
- IUnknownConstantAttribute.cs
- FullTextState.cs
- AssemblyAssociatedContentFileAttribute.cs
- MsdtcWrapper.cs
- TiffBitmapEncoder.cs
- CreateUserWizard.cs
- Compiler.cs
- cookie.cs
- DataTableReaderListener.cs
- LinkClickEvent.cs
- RecordManager.cs
- SubstitutionList.cs
- GradientStop.cs
- BinaryExpression.cs
- IsolatedStoragePermission.cs
- ObjectDataSourceStatusEventArgs.cs
- TriState.cs
- HtmlContainerControl.cs
- Point3DAnimation.cs
- XmlResolver.cs
- OleDbStruct.cs
- HashMembershipCondition.cs
- ExpressionEditorAttribute.cs
- AuthorizationSection.cs
- StreamReader.cs
- ListBoxItem.cs
- ConfigXmlDocument.cs
- EventMappingSettingsCollection.cs
- PageAdapter.cs
- DocumentApplicationJournalEntryEventArgs.cs
- _LazyAsyncResult.cs
- Block.cs
- SystemTcpConnection.cs
- TypeNameParser.cs
- PropertyDescriptorComparer.cs
- ConfigurationLocation.cs
- CompilerLocalReference.cs
- SafeProcessHandle.cs
- CookieProtection.cs
- AttachedAnnotation.cs
- GuidTagList.cs
- ReadonlyMessageFilter.cs
- SecurityTokenAuthenticator.cs
- SqlBuilder.cs
- EntityModelSchemaGenerator.cs
- LinqDataSourceContextEventArgs.cs
- EdmSchemaAttribute.cs
- OleDbErrorCollection.cs
- WorkflowElementDialog.cs
- WindowsRebar.cs
- Registry.cs
- StreamGeometry.cs
- Scripts.cs
- ListSortDescriptionCollection.cs
- ErrorProvider.cs
- RangeValidator.cs
- ScrollItemPattern.cs
- DataControlFieldCollection.cs
- AuthenticationModuleElementCollection.cs
- ClientSettings.cs
- SimpleWebHandlerParser.cs
- UniformGrid.cs
- KeyTimeConverter.cs
- Operators.cs
- ExpressionPrefixAttribute.cs
- RepeaterItemCollection.cs
- LassoHelper.cs
- DesignTableCollection.cs
- DataGridTable.cs
- PrefixQName.cs
- WindowsClaimSet.cs
- TextAdaptor.cs
- Rotation3D.cs
- SchemaContext.cs
- ArrayItemValue.cs
- JpegBitmapEncoder.cs
- AxHost.cs
- AuthorizationContext.cs
- FilteredReadOnlyMetadataCollection.cs
- MulticastOption.cs
- SQLInt64.cs
- RelationshipDetailsRow.cs
- CodeGeneratorOptions.cs
- GenericWebPart.cs
- LineGeometry.cs