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
- GeometryCollection.cs
- SqlBooleanMismatchVisitor.cs
- DocumentEventArgs.cs
- CodeStatement.cs
- DrawingAttributeSerializer.cs
- SectionRecord.cs
- ReadonlyMessageFilter.cs
- Image.cs
- TemplateBindingExpression.cs
- CodeConditionStatement.cs
- AffineTransform3D.cs
- InvalidOperationException.cs
- CutCopyPasteHelper.cs
- HttpResponse.cs
- StorageModelBuildProvider.cs
- ChangeProcessor.cs
- ToolboxDataAttribute.cs
- TabPageDesigner.cs
- UrlParameterReader.cs
- FieldNameLookup.cs
- TransformerTypeCollection.cs
- ContainerAction.cs
- TemplateNameScope.cs
- IPipelineRuntime.cs
- DataGridViewMethods.cs
- SettingsPropertyNotFoundException.cs
- CroppedBitmap.cs
- HexParser.cs
- sitestring.cs
- RandomNumberGenerator.cs
- DPTypeDescriptorContext.cs
- UniqueEventHelper.cs
- PreviewPageInfo.cs
- SystemIPGlobalProperties.cs
- KeyManager.cs
- ThreadStaticAttribute.cs
- ConfigPathUtility.cs
- MetadataSection.cs
- CqlQuery.cs
- SkewTransform.cs
- DataServiceEntityAttribute.cs
- SplashScreen.cs
- SiteIdentityPermission.cs
- DecoderBestFitFallback.cs
- Slider.cs
- XmlDataProvider.cs
- dbenumerator.cs
- CodeArgumentReferenceExpression.cs
- TypeReference.cs
- ImageList.cs
- COM2ICategorizePropertiesHandler.cs
- ObjectDataSourceChooseMethodsPanel.cs
- AtlasWeb.Designer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- VersionPair.cs
- InvokeGenerator.cs
- ConfigXmlDocument.cs
- DataGridViewImageCell.cs
- XmlCharCheckingReader.cs
- TouchEventArgs.cs
- PersonalizableTypeEntry.cs
- DocumentViewerBase.cs
- CodeSnippetTypeMember.cs
- EditorBrowsableAttribute.cs
- XmlMembersMapping.cs
- XmlTextEncoder.cs
- AddingNewEventArgs.cs
- ImageSourceConverter.cs
- CompletionProxy.cs
- FrameDimension.cs
- TextRenderer.cs
- BindingWorker.cs
- WinEventWrap.cs
- autovalidator.cs
- TextDecorationUnitValidation.cs
- SeekStoryboard.cs
- xamlnodes.cs
- SiteMapDataSourceView.cs
- ExpressionConverter.cs
- Unit.cs
- CachedTypeface.cs
- _SslState.cs
- Expander.cs
- TypeRestriction.cs
- Update.cs
- BufferedOutputStream.cs
- GlobalizationSection.cs
- DataTablePropertyDescriptor.cs
- NumberAction.cs
- WebPartExportVerb.cs
- ApplicationContext.cs
- XmlDocumentSurrogate.cs
- SizeConverter.cs
- ChangeBlockUndoRecord.cs
- WindowsPrincipal.cs
- Error.cs
- NotSupportedException.cs
- Util.cs
- GACMembershipCondition.cs