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
- oledbconnectionstring.cs
- ValidationSummary.cs
- ValidationEventArgs.cs
- MetafileHeader.cs
- CaseCqlBlock.cs
- XslException.cs
- DocumentGridContextMenu.cs
- DataListItem.cs
- DefaultCommandConverter.cs
- SmiContextFactory.cs
- FormatConvertedBitmap.cs
- Win32KeyboardDevice.cs
- DataIdProcessor.cs
- FormParameter.cs
- COM2PictureConverter.cs
- NumberFormatInfo.cs
- Size3D.cs
- BufferAllocator.cs
- DataBindingCollection.cs
- SoapAttributeOverrides.cs
- UIntPtr.cs
- PropertyGroupDescription.cs
- DefaultAuthorizationContext.cs
- BamlStream.cs
- BufferedResponseStream.cs
- HtmlMeta.cs
- ObjectQueryExecutionPlan.cs
- SingleAnimationBase.cs
- MenuStrip.cs
- EdmFunction.cs
- FormViewPagerRow.cs
- HttpDictionary.cs
- SessionStateModule.cs
- AlternateViewCollection.cs
- EventLogRecord.cs
- SiteMapDataSource.cs
- FlowDocumentPaginator.cs
- SqlBulkCopy.cs
- X509IssuerSerialKeyIdentifierClause.cs
- TdsParserStateObject.cs
- DetailsViewPagerRow.cs
- FigureParaClient.cs
- TemplateControlBuildProvider.cs
- ProxyGenerationError.cs
- XmlWriterSettings.cs
- CommandPlan.cs
- HttpListenerRequestUriBuilder.cs
- SessionIDManager.cs
- JulianCalendar.cs
- DesignOnlyAttribute.cs
- PathBox.cs
- Material.cs
- PageParser.cs
- DesignTimeParseData.cs
- DesignerPerfEventProvider.cs
- InvariantComparer.cs
- MethodToken.cs
- XpsFixedPageReaderWriter.cs
- ReadOnlyAttribute.cs
- CatchBlock.cs
- Brush.cs
- HostedTransportConfigurationBase.cs
- DBDataPermissionAttribute.cs
- StateDesigner.Helpers.cs
- LambdaReference.cs
- serverconfig.cs
- GPPOINTF.cs
- Quad.cs
- BackgroundWorker.cs
- ClipboardData.cs
- Line.cs
- CodeTryCatchFinallyStatement.cs
- SynchronizedPool.cs
- cookiecontainer.cs
- ImmutableObjectAttribute.cs
- CodeComment.cs
- DependencyPropertyValueSerializer.cs
- LineServicesCallbacks.cs
- EntityDataReader.cs
- IList.cs
- CollectionViewGroupInternal.cs
- ListViewEditEventArgs.cs
- ServerIdentity.cs
- DataSetMappper.cs
- NodeLabelEditEvent.cs
- DataPagerFieldItem.cs
- SecurityRuntime.cs
- SecurityChannelListener.cs
- ReturnEventArgs.cs
- TabControl.cs
- WebServiceErrorEvent.cs
- DefaultBinder.cs
- EventSinkHelperWriter.cs
- IPGlobalProperties.cs
- MethodBody.cs
- AssemblyResolver.cs
- RegexCharClass.cs
- TraceLog.cs
- X509ChainPolicy.cs
- ActiveXHelper.cs