Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1305376 / 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
- Vector.cs
- XpsImageSerializationService.cs
- AgileSafeNativeMemoryHandle.cs
- glyphs.cs
- HtmlHead.cs
- XPathNodeHelper.cs
- SymLanguageType.cs
- GacUtil.cs
- AddInIpcChannel.cs
- ListItemConverter.cs
- VersionedStreamOwner.cs
- ToolStripOverflowButton.cs
- CollectionViewSource.cs
- ZipIORawDataFileBlock.cs
- MergeFilterQuery.cs
- InnerItemCollectionView.cs
- ObjectFullSpanRewriter.cs
- ItemCollection.cs
- unitconverter.cs
- EncoderExceptionFallback.cs
- XmlDataFileEditor.cs
- HtmlFormWrapper.cs
- CaseDesigner.xaml.cs
- OutputCacheProfile.cs
- ADConnectionHelper.cs
- PeerContact.cs
- TimelineCollection.cs
- EntityReference.cs
- TextElementCollection.cs
- CallbackHandler.cs
- GacUtil.cs
- XmlComment.cs
- DataObjectMethodAttribute.cs
- Int64Converter.cs
- UIEndRequest.cs
- UnionQueryOperator.cs
- OrderingExpression.cs
- GetTokenRequest.cs
- MemberInitExpression.cs
- DetailsViewInsertEventArgs.cs
- GenericEnumerator.cs
- SQLCharsStorage.cs
- DataSetFieldSchema.cs
- PagerStyle.cs
- ProjectionPruner.cs
- NativeMethods.cs
- configsystem.cs
- BufferModeSettings.cs
- MethodExpression.cs
- WebPartDeleteVerb.cs
- RepeaterItem.cs
- ResourcePermissionBaseEntry.cs
- Schema.cs
- NestedContainer.cs
- SynchronizingStream.cs
- SelectionItemPattern.cs
- ExpandSegment.cs
- ContentWrapperAttribute.cs
- DbParameterCollectionHelper.cs
- WebConfigurationHost.cs
- CodeCommentStatement.cs
- Triangle.cs
- SecurityDescriptor.cs
- WebBrowserUriTypeConverter.cs
- FileChangeNotifier.cs
- XPathAncestorQuery.cs
- ProvideValueServiceProvider.cs
- Random.cs
- Utils.cs
- FontWeights.cs
- MemoryMappedFileSecurity.cs
- Converter.cs
- ComProxy.cs
- DictionaryMarkupSerializer.cs
- ProxyAttribute.cs
- LambdaExpression.cs
- StreamAsIStream.cs
- WindowsSolidBrush.cs
- KeyboardDevice.cs
- TypeSource.cs
- DataGridViewCellValidatingEventArgs.cs
- UserControlAutomationPeer.cs
- TextTreeTextBlock.cs
- Constants.cs
- CharacterShapingProperties.cs
- OdbcStatementHandle.cs
- LogWriteRestartAreaAsyncResult.cs
- WebPartChrome.cs
- CompositeScriptReference.cs
- SystemInfo.cs
- CheckBoxRenderer.cs
- ExecutionEngineException.cs
- XamlGridLengthSerializer.cs
- smtpconnection.cs
- PageCatalogPart.cs
- FamilyCollection.cs
- PlatformCulture.cs
- RayHitTestParameters.cs
- MaskDescriptor.cs
- RectAnimationUsingKeyFrames.cs