Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / MobileSysDescriptionAttribute.cs / 1305376 / MobileSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Web.UI.MobileControls { ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class MobileSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal MobileSysDescriptionAttribute(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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the description text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Web.UI.MobileControls { ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class MobileSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal MobileSysDescriptionAttribute(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; } } } } // 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
- PieceDirectory.cs
- ImageConverter.cs
- WebPartConnectionsDisconnectVerb.cs
- DropTarget.cs
- CheckBox.cs
- XmlWhitespace.cs
- SerialStream.cs
- Line.cs
- TextChangedEventArgs.cs
- DesignerPainter.cs
- CodeLinePragma.cs
- ColorKeyFrameCollection.cs
- QilSortKey.cs
- QilSortKey.cs
- FrameworkRichTextComposition.cs
- OverloadGroupAttribute.cs
- AttributeEmitter.cs
- GlobalAclOperationRequirement.cs
- HtmlInputReset.cs
- CompareInfo.cs
- SqlBuilder.cs
- NamedElement.cs
- WhitespaceRuleLookup.cs
- SettingsSavedEventArgs.cs
- ToolStripOverflow.cs
- SQLSingleStorage.cs
- XhtmlTextWriter.cs
- CacheForPrimitiveTypes.cs
- PenThreadWorker.cs
- ThreadInterruptedException.cs
- WindowsSpinner.cs
- FaultContractAttribute.cs
- ManifestResourceInfo.cs
- UrlMappingCollection.cs
- URLBuilder.cs
- NextPreviousPagerField.cs
- IdentityNotMappedException.cs
- ExecutionScope.cs
- UnSafeCharBuffer.cs
- TransformerInfoCollection.cs
- Transform3DGroup.cs
- MonitorWrapper.cs
- RuntimeHelpers.cs
- QuaternionRotation3D.cs
- Span.cs
- MdImport.cs
- MimeObjectFactory.cs
- ContextConfiguration.cs
- UnauthorizedAccessException.cs
- DataListCommandEventArgs.cs
- ListViewCommandEventArgs.cs
- DependentList.cs
- BackgroundFormatInfo.cs
- WbemProvider.cs
- SafeMemoryMappedViewHandle.cs
- Monitor.cs
- PointLight.cs
- TextRangeEditLists.cs
- Repeater.cs
- AdjustableArrowCap.cs
- COAUTHIDENTITY.cs
- GacUtil.cs
- DefaultValueAttribute.cs
- EventSourceCreationData.cs
- ObjectDataSourceStatusEventArgs.cs
- Conditional.cs
- ActivityCodeDomSerializer.cs
- StylusLogic.cs
- NameSpaceEvent.cs
- CustomValidator.cs
- EllipseGeometry.cs
- ProxyBuilder.cs
- XsdSchemaFileEditor.cs
- VScrollBar.cs
- MulticastDelegate.cs
- EditorAttribute.cs
- BamlLocalizableResource.cs
- TemplateXamlParser.cs
- ListItemParagraph.cs
- Win32Interop.cs
- ProjectionPlan.cs
- DataContractFormatAttribute.cs
- EventBookmark.cs
- ResumeStoryboard.cs
- WizardPanel.cs
- XsltFunctions.cs
- ImplicitInputBrush.cs
- Helpers.cs
- ImageFormat.cs
- DriveInfo.cs
- PathFigure.cs
- BlurBitmapEffect.cs
- OleDbEnumerator.cs
- FixedTextPointer.cs
- DesignerActionKeyboardBehavior.cs
- DiscoveryServerProtocol.cs
- PixelFormat.cs
- Stylesheet.cs
- _OverlappedAsyncResult.cs
- XmlNullResolver.cs