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
- AlphaSortedEnumConverter.cs
- ValidatorCompatibilityHelper.cs
- OpenCollectionAsyncResult.cs
- XmlCodeExporter.cs
- TreeView.cs
- DataGridViewCellConverter.cs
- CodeStatementCollection.cs
- Expression.cs
- DragEvent.cs
- DataGridDesigner.cs
- _FixedSizeReader.cs
- MailBnfHelper.cs
- NestedContainer.cs
- MetadataWorkspace.cs
- ExpandSegment.cs
- SystemIPAddressInformation.cs
- ForceCopyBuildProvider.cs
- UInt64Converter.cs
- coordinatorfactory.cs
- serverconfig.cs
- MissingManifestResourceException.cs
- Border.cs
- HtmlButton.cs
- NegotiateStream.cs
- XpsInterleavingPolicy.cs
- StatusBarDesigner.cs
- Touch.cs
- Sql8ConformanceChecker.cs
- OdbcErrorCollection.cs
- StylusButtonEventArgs.cs
- UnsafeNativeMethods.cs
- TypeConverterHelper.cs
- BamlStream.cs
- PointCollectionConverter.cs
- ViewKeyConstraint.cs
- CombinedHttpChannel.cs
- DataGridColumn.cs
- SynchronizationFilter.cs
- GenericUriParser.cs
- ExtendedProtectionPolicyTypeConverter.cs
- Propagator.ExtentPlaceholderCreator.cs
- AdapterDictionary.cs
- TakeQueryOptionExpression.cs
- TypeSystemHelpers.cs
- BmpBitmapEncoder.cs
- ICollection.cs
- ListBox.cs
- CompositeFontFamily.cs
- IgnoreSection.cs
- BamlWriter.cs
- XsltInput.cs
- EventProviderClassic.cs
- XmlAttributeAttribute.cs
- AnnotationResource.cs
- RemoteWebConfigurationHostServer.cs
- WebHttpEndpointElement.cs
- SettingsPropertyValue.cs
- ProcessStartInfo.cs
- EntityClassGenerator.cs
- StdValidatorsAndConverters.cs
- Underline.cs
- XmlSchemaCompilationSettings.cs
- TextWriter.cs
- ForwardPositionQuery.cs
- TextTreeNode.cs
- DataViewSettingCollection.cs
- PropertyValueChangedEvent.cs
- SettingsContext.cs
- WebServiceHost.cs
- PrintEvent.cs
- TraceUtility.cs
- StorageAssociationSetMapping.cs
- WebPermission.cs
- ChannelSinkStacks.cs
- AspNetSynchronizationContext.cs
- ApplicationInfo.cs
- SQLStringStorage.cs
- TextTreePropertyUndoUnit.cs
- Viewport2DVisual3D.cs
- CachedPathData.cs
- ColumnCollection.cs
- TargetControlTypeCache.cs
- CommonRemoteMemoryBlock.cs
- NameNode.cs
- RadioButton.cs
- RenderData.cs
- SmtpSection.cs
- WebConfigurationManager.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- ComplexBindingPropertiesAttribute.cs
- ScrollItemProviderWrapper.cs
- LinkedList.cs
- BindingMAnagerBase.cs
- ContentDisposition.cs
- AssemblyAttributes.cs
- StateBag.cs
- ActivityCodeGenerator.cs
- CodeRegionDirective.cs
- DBCSCodePageEncoding.cs
- ToolStripDropTargetManager.cs