Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / WebServicesDescriptionAttribute.cs / 1305376 / WebServicesDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services { 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 WebServicesDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// /// Constructs a new sys description. /// internal WebServicesDescriptionAttribute(string description) : base(description) { } ////// /// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityDataSourceContextCreatedEventArgs.cs
- TextBox.cs
- PropertyItem.cs
- ObjectDataSourceSelectingEventArgs.cs
- ProfessionalColors.cs
- SingleResultAttribute.cs
- DetailsViewDeletedEventArgs.cs
- TextTreeRootNode.cs
- PrintPreviewGraphics.cs
- WebPartConnectVerb.cs
- ExceptionHandlersDesigner.cs
- SubMenuStyleCollection.cs
- Bezier.cs
- ReadOnlyDataSourceView.cs
- DBSqlParserTable.cs
- AnnotationDocumentPaginator.cs
- JsonWriter.cs
- BufferAllocator.cs
- EmbossBitmapEffect.cs
- XmlWrappingReader.cs
- DateRangeEvent.cs
- GreenMethods.cs
- XmlILTrace.cs
- EdmMember.cs
- SymLanguageVendor.cs
- MD5.cs
- FormsIdentity.cs
- DynamicPropertyReader.cs
- AllowedAudienceUriElement.cs
- FontFamilyValueSerializer.cs
- ListViewItemMouseHoverEvent.cs
- ArgIterator.cs
- BooleanProjectedSlot.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- PrimitiveXmlSerializers.cs
- KeyTimeConverter.cs
- Point4DConverter.cs
- OleDbErrorCollection.cs
- StaticTextPointer.cs
- Model3D.cs
- CultureSpecificStringDictionary.cs
- codemethodreferenceexpression.cs
- CustomLineCap.cs
- HttpListenerResponse.cs
- _AutoWebProxyScriptHelper.cs
- TagPrefixInfo.cs
- CategoryAttribute.cs
- XmlElementList.cs
- HelpEvent.cs
- DataServiceHost.cs
- NavigationService.cs
- EventRoute.cs
- CultureInfoConverter.cs
- TextContainer.cs
- OutputCacheSettingsSection.cs
- RadioButton.cs
- WebPartHelpVerb.cs
- Timer.cs
- httpstaticobjectscollection.cs
- AliasGenerator.cs
- XamlClipboardData.cs
- ProgressChangedEventArgs.cs
- PathSegmentCollection.cs
- oledbmetadatacolumnnames.cs
- RegisterInfo.cs
- SimpleLine.cs
- ElementsClipboardData.cs
- TreeChangeInfo.cs
- Pair.cs
- SymLanguageType.cs
- IndentTextWriter.cs
- HitTestDrawingContextWalker.cs
- TypeLoadException.cs
- MachineKeyConverter.cs
- ParsedAttributeCollection.cs
- Pen.cs
- UserControlParser.cs
- PeerTransportElement.cs
- KnownBoxes.cs
- Types.cs
- FocusManager.cs
- InitialServerConnectionReader.cs
- PerformanceCounterPermissionEntryCollection.cs
- QilTypeChecker.cs
- ScrollChangedEventArgs.cs
- ColorMatrix.cs
- CachedPathData.cs
- ConfigurationPropertyCollection.cs
- AsyncPostBackErrorEventArgs.cs
- MexNamedPipeBindingElement.cs
- TogglePattern.cs
- OpenFileDialog.cs
- DependencyProperty.cs
- HtmlShimManager.cs
- SecurityDescriptor.cs
- WindowsSlider.cs
- AssemblyResourceLoader.cs
- MenuItem.cs
- OverflowException.cs
- ImageIndexEditor.cs