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
- SoapSchemaImporter.cs
- MailWebEventProvider.cs
- DataRelation.cs
- SystemIPAddressInformation.cs
- CommentAction.cs
- HTTPRemotingHandler.cs
- ListItem.cs
- SourceFileBuildProvider.cs
- Win32.cs
- MessageBox.cs
- JsonMessageEncoderFactory.cs
- ModelPropertyDescriptor.cs
- CodeComment.cs
- XmlEventCache.cs
- ListViewDataItem.cs
- DashStyle.cs
- ContractSearchPattern.cs
- LongValidatorAttribute.cs
- ConversionContext.cs
- securestring.cs
- MembershipPasswordException.cs
- ProgressiveCrcCalculatingStream.cs
- XmlSchema.cs
- PartitionedDataSource.cs
- QilName.cs
- DrawingBrush.cs
- LayoutEngine.cs
- OrderPreservingPipeliningMergeHelper.cs
- SystemUnicastIPAddressInformation.cs
- Compiler.cs
- NativeWindow.cs
- SmtpDigestAuthenticationModule.cs
- AttachedPropertiesService.cs
- SecureEnvironment.cs
- Pair.cs
- COM2PropertyDescriptor.cs
- M3DUtil.cs
- LazyTextWriterCreator.cs
- InkCanvasSelectionAdorner.cs
- DateTimeValueSerializer.cs
- Grammar.cs
- CalculatedColumn.cs
- CodeDirectoryCompiler.cs
- grammarelement.cs
- Rotation3D.cs
- XamlDesignerSerializationManager.cs
- WindowsAltTab.cs
- Component.cs
- Oid.cs
- ClientBuildManager.cs
- HotCommands.cs
- TransformGroup.cs
- DateTimeValueSerializerContext.cs
- DBPropSet.cs
- BufferedWebEventProvider.cs
- DetailsViewRow.cs
- PathFigureCollection.cs
- NavigationExpr.cs
- QilLiteral.cs
- SessionStateSection.cs
- NameScopePropertyAttribute.cs
- SystemIPInterfaceProperties.cs
- altserialization.cs
- ProtectedProviderSettings.cs
- EventWaitHandle.cs
- RTLAwareMessageBox.cs
- JsonReaderDelegator.cs
- VectorCollection.cs
- DataGridViewControlCollection.cs
- BitmapEffectCollection.cs
- XmlSiteMapProvider.cs
- WsrmFault.cs
- AttachedAnnotationChangedEventArgs.cs
- SchemaImporterExtensionsSection.cs
- KeyboardEventArgs.cs
- DynamicDataRoute.cs
- GifBitmapDecoder.cs
- RoleExceptions.cs
- ToolStripOverflow.cs
- BindingManagerDataErrorEventArgs.cs
- UshortList2.cs
- DataContractSerializerFaultFormatter.cs
- X509Certificate2Collection.cs
- ButtonBaseDesigner.cs
- TrustSection.cs
- SessionStateContainer.cs
- DataGridPageChangedEventArgs.cs
- Expression.cs
- TraceContextEventArgs.cs
- DiagnosticTraceSource.cs
- BamlLocalizer.cs
- StringAnimationBase.cs
- CollectionView.cs
- System.Data_BID.cs
- SHA1CryptoServiceProvider.cs
- DateTimeFormatInfo.cs
- DeferredTextReference.cs
- ToolStripSeparator.cs
- FrugalList.cs
- DynamicResourceExtensionConverter.cs