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
- WorkItem.cs
- PropertyRecord.cs
- XmlCharType.cs
- CodeAssignStatement.cs
- EntityDataSourceWizardForm.cs
- DbTransaction.cs
- MenuItemCollection.cs
- BindingOperations.cs
- SEHException.cs
- RSAOAEPKeyExchangeFormatter.cs
- PageHandlerFactory.cs
- SQLInt64Storage.cs
- GridView.cs
- ComponentManagerBroker.cs
- ActiveXHost.cs
- TextEditorDragDrop.cs
- SimpleBitVector32.cs
- ExceptionHelpers.cs
- EntityDataSourceSelectedEventArgs.cs
- ErrorEventArgs.cs
- DecoderExceptionFallback.cs
- WebSysDefaultValueAttribute.cs
- ThreadStateException.cs
- BitmapDecoder.cs
- MethodMessage.cs
- EntityDataSourceContextCreatedEventArgs.cs
- streamingZipPartStream.cs
- ViewManager.cs
- XmlSerializableWriter.cs
- CorrelationManager.cs
- UInt16Converter.cs
- FixedTextPointer.cs
- RequestStatusBarUpdateEventArgs.cs
- RunWorkerCompletedEventArgs.cs
- DataSourceXmlAttributeAttribute.cs
- PointCollectionConverter.cs
- LocationEnvironment.cs
- ToolStripContentPanelRenderEventArgs.cs
- XPathParser.cs
- SqlNodeAnnotations.cs
- WindowsHyperlink.cs
- ToolStripItemEventArgs.cs
- MenuScrollingVisibilityConverter.cs
- StructuredTypeInfo.cs
- UnaryNode.cs
- GenericUriParser.cs
- Expression.DebuggerProxy.cs
- ContextQuery.cs
- WorkflowDebuggerSteppingAttribute.cs
- CalendarKeyboardHelper.cs
- InvokeMethod.cs
- PerspectiveCamera.cs
- XamlWriter.cs
- SrgsElementFactory.cs
- DataTrigger.cs
- DataObject.cs
- COM2FontConverter.cs
- OneOfElement.cs
- EasingKeyFrames.cs
- WebContentFormatHelper.cs
- OutputCacheProfileCollection.cs
- GeometryValueSerializer.cs
- Monitor.cs
- BlurBitmapEffect.cs
- HostingEnvironmentSection.cs
- IgnoreDeviceFilterElementCollection.cs
- JsonUriDataContract.cs
- ExpressionHelper.cs
- Permission.cs
- ServiceDebugElement.cs
- XmlStringTable.cs
- GenericPrincipal.cs
- ellipse.cs
- FileDialogCustomPlace.cs
- Events.cs
- AsymmetricKeyExchangeFormatter.cs
- SqlProviderServices.cs
- SystemSounds.cs
- MultilineStringConverter.cs
- SoapServerProtocol.cs
- CompareInfo.cs
- NotSupportedException.cs
- Blend.cs
- CodeExporter.cs
- PTProvider.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- LingerOption.cs
- XsltQilFactory.cs
- ValidationEventArgs.cs
- XPathItem.cs
- AppDomain.cs
- DataException.cs
- ScrollProperties.cs
- SiblingIterators.cs
- HwndTarget.cs
- IIS7UserPrincipal.cs
- InputLanguage.cs
- HTMLTagNameToTypeMapper.cs
- XmlSchemaValidationException.cs
- EventLogSession.cs