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
- ProtectedConfigurationSection.cs
- HandleInitializationContext.cs
- LogicalTreeHelper.cs
- StopStoryboard.cs
- BulletChrome.cs
- InputLanguageSource.cs
- ProvideValueServiceProvider.cs
- sitestring.cs
- UnsafeNativeMethods.cs
- MeasureItemEvent.cs
- linebase.cs
- SymbolTable.cs
- CoreSwitches.cs
- ApplyHostConfigurationBehavior.cs
- InstrumentationTracker.cs
- NetMsmqSecurity.cs
- CompositeFontFamily.cs
- BitmapEffectState.cs
- Label.cs
- InvokeProviderWrapper.cs
- BezierSegment.cs
- ExpressionEvaluator.cs
- ComPlusContractBehavior.cs
- TrackBarRenderer.cs
- InternalsVisibleToAttribute.cs
- DragStartedEventArgs.cs
- Control.cs
- PreProcessor.cs
- WebChannelFactory.cs
- safemediahandle.cs
- SqlConnectionHelper.cs
- TableLayoutRowStyleCollection.cs
- PackagingUtilities.cs
- TitleStyle.cs
- FixedHyperLink.cs
- ReturnType.cs
- DefaultShape.cs
- DataGridViewTextBoxEditingControl.cs
- BitmapEffectInput.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- Scanner.cs
- HtmlImageAdapter.cs
- WebServiceData.cs
- PropertyKey.cs
- NetworkInterface.cs
- HttpServerVarsCollection.cs
- FilterEventArgs.cs
- DataGridRowAutomationPeer.cs
- BindingCollection.cs
- MediaContextNotificationWindow.cs
- ToolStripItemRenderEventArgs.cs
- CodeDelegateInvokeExpression.cs
- RadioButton.cs
- SqlProvider.cs
- SQLSingleStorage.cs
- KnownColorTable.cs
- ViewBox.cs
- Base64Stream.cs
- IntSecurity.cs
- UInt16Storage.cs
- ControlEvent.cs
- SponsorHelper.cs
- TextElementCollectionHelper.cs
- CurrentChangedEventManager.cs
- BypassElementCollection.cs
- Win32.cs
- RawStylusInputReport.cs
- Window.cs
- ApplyImportsAction.cs
- CodeTypeOfExpression.cs
- FlowNode.cs
- LineSegment.cs
- DataTransferEventArgs.cs
- RegexReplacement.cs
- ToolStripCodeDomSerializer.cs
- DictionaryContent.cs
- FileSystemEnumerable.cs
- XmlSchemaIdentityConstraint.cs
- SimpleNameService.cs
- RefreshEventArgs.cs
- DateRangeEvent.cs
- ReachNamespaceInfo.cs
- CodeMemberMethod.cs
- SendKeys.cs
- IDQuery.cs
- CustomValidator.cs
- QilParameter.cs
- PeerObject.cs
- PropertyConverter.cs
- LinkedResource.cs
- XmlValueConverter.cs
- ADRoleFactoryConfiguration.cs
- XmlILOptimizerVisitor.cs
- WebPartMovingEventArgs.cs
- DataGridViewCheckBoxCell.cs
- WindowsSlider.cs
- PerformanceCounterCategory.cs
- MarkedHighlightComponent.cs
- ActivityCollectionMarkupSerializer.cs
- DbConnectionStringBuilder.cs