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
- WindowsStatic.cs
- RegexMatchCollection.cs
- XmlAttributeCollection.cs
- ToolStripRenderEventArgs.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- QueuePropertyVariants.cs
- _DigestClient.cs
- DelimitedListTraceListener.cs
- EncryptedType.cs
- XPathDocumentIterator.cs
- Binding.cs
- HtmlShim.cs
- PackWebRequest.cs
- XmlSchemaValidationException.cs
- GridViewSelectEventArgs.cs
- SiteMapPath.cs
- Rights.cs
- LogExtent.cs
- SynchronizedDispatch.cs
- DrawingBrush.cs
- WebGetAttribute.cs
- StringInfo.cs
- QueryRewriter.cs
- ImageListUtils.cs
- EntityDataSourceEntityTypeFilterItem.cs
- Column.cs
- C14NUtil.cs
- XXXOnTypeBuilderInstantiation.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DataViewManagerListItemTypeDescriptor.cs
- HostedElements.cs
- remotingproxy.cs
- ObjectDataSourceFilteringEventArgs.cs
- DataError.cs
- webclient.cs
- TextTreeTextBlock.cs
- MetadataArtifactLoaderCompositeFile.cs
- VirtualDirectoryMapping.cs
- WindowsGrip.cs
- DataStreamFromComStream.cs
- SoapEnumAttribute.cs
- TimeSpanStorage.cs
- InstalledFontCollection.cs
- ResourceDictionary.cs
- DataGridViewElement.cs
- ListBindingConverter.cs
- SQLGuidStorage.cs
- dataprotectionpermissionattribute.cs
- UICuesEvent.cs
- CfgParser.cs
- AttributeUsageAttribute.cs
- LexicalChunk.cs
- XMLUtil.cs
- AsymmetricKeyExchangeDeformatter.cs
- ProfileEventArgs.cs
- BaseCodePageEncoding.cs
- OracleFactory.cs
- CodeArrayCreateExpression.cs
- HebrewNumber.cs
- ValueTypeIndexerReference.cs
- ValidationPropertyAttribute.cs
- SessionPageStatePersister.cs
- MemoryStream.cs
- IIS7WorkerRequest.cs
- PropertyPathWorker.cs
- SimpleBitVector32.cs
- XmlAttributes.cs
- __ComObject.cs
- UITypeEditor.cs
- SafeProcessHandle.cs
- WindowsTokenRoleProvider.cs
- Suspend.cs
- CollectionViewGroup.cs
- ConstructorExpr.cs
- FlowLayout.cs
- Event.cs
- CalendarDay.cs
- ConfigurationErrorsException.cs
- DataBindingCollection.cs
- WebPartDisplayMode.cs
- MimePart.cs
- ContextMenu.cs
- ServerProtocol.cs
- FlowNode.cs
- ExtensionSimplifierMarkupObject.cs
- SQLMoney.cs
- WebColorConverter.cs
- DataRecordInfo.cs
- storepermission.cs
- SqlUserDefinedTypeAttribute.cs
- _FtpControlStream.cs
- SystemIcmpV6Statistics.cs
- BufferAllocator.cs
- CodeDOMProvider.cs
- TargetInvocationException.cs
- GenericPrincipal.cs
- CustomTrackingQuery.cs
- EmptyEnumerable.cs
- BooleanFunctions.cs
- ExpressionList.cs