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
- WebPartEditorApplyVerb.cs
- ButtonRenderer.cs
- SecurityException.cs
- OleDbWrapper.cs
- MergePropertyDescriptor.cs
- DataGridTable.cs
- PnrpPeerResolverBindingElement.cs
- ScrollViewerAutomationPeer.cs
- StringFunctions.cs
- StrokeSerializer.cs
- StringTraceRecord.cs
- ExternalException.cs
- ValueTypeFixupInfo.cs
- DefaultValueTypeConverter.cs
- KnownBoxes.cs
- SimpleHandlerFactory.cs
- XPathChildIterator.cs
- LocationUpdates.cs
- RunInstallerAttribute.cs
- JoinGraph.cs
- RegexCode.cs
- ChannelServices.cs
- SharedDp.cs
- TypeSystem.cs
- FixedPosition.cs
- SafeNativeMethodsMilCoreApi.cs
- QueueNameHelper.cs
- FileNotFoundException.cs
- BinaryMethodMessage.cs
- DbRetry.cs
- XmlSchemaExporter.cs
- OdbcCommand.cs
- ListViewItemEventArgs.cs
- Pair.cs
- CodeTypeParameter.cs
- MediaElement.cs
- SecurityHelper.cs
- ViewGenerator.cs
- ContentFilePart.cs
- MailAddressParser.cs
- OrderedHashRepartitionStream.cs
- HttpCacheVary.cs
- SchemaHelper.cs
- HtmlTernaryTree.cs
- TaskbarItemInfo.cs
- DelegateBodyWriter.cs
- CookieHandler.cs
- TreeNodeCollection.cs
- OleDbConnectionInternal.cs
- Expressions.cs
- HttpRuntime.cs
- FunctionQuery.cs
- ValueCollectionParameterReader.cs
- Function.cs
- ClientTargetSection.cs
- ImageFormat.cs
- MailHeaderInfo.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ListViewAutomationPeer.cs
- Separator.cs
- IHttpResponseInternal.cs
- UserControlBuildProvider.cs
- RubberbandSelector.cs
- FrameworkRichTextComposition.cs
- ResourceManager.cs
- ItemType.cs
- MiniAssembly.cs
- ValidationPropertyAttribute.cs
- JavaScriptSerializer.cs
- PopOutPanel.cs
- mediapermission.cs
- ResourceBinder.cs
- KerberosSecurityTokenProvider.cs
- BinaryEditor.cs
- PrintPreviewDialog.cs
- Axis.cs
- NamespaceInfo.cs
- DesignerTransaction.cs
- ConstantExpression.cs
- ExpandSegmentCollection.cs
- SiteMap.cs
- KnownBoxes.cs
- TextEncodedRawTextWriter.cs
- ConstraintConverter.cs
- DataGridRowEventArgs.cs
- ArglessEventHandlerProxy.cs
- DesignerValidatorAdapter.cs
- UriScheme.cs
- CompositeControl.cs
- TransactionOptions.cs
- DataRecordInternal.cs
- CodeCommentStatement.cs
- MessageContractExporter.cs
- printdlgexmarshaler.cs
- DataRowCollection.cs
- SrgsItemList.cs
- DataGridPagerStyle.cs
- ZipPackagePart.cs
- sqlser.cs
- Panel.cs