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
- MimeTypePropertyAttribute.cs
- XPathItem.cs
- DisplayMemberTemplateSelector.cs
- Console.cs
- NativeMethods.cs
- RefType.cs
- ListBoxAutomationPeer.cs
- CodeGotoStatement.cs
- DataGridViewEditingControlShowingEventArgs.cs
- AttachedAnnotation.cs
- Help.cs
- RegionData.cs
- DataPagerFieldCollection.cs
- PeerService.cs
- GridViewRowEventArgs.cs
- Identity.cs
- UxThemeWrapper.cs
- UnmanagedMemoryStream.cs
- MarkupObject.cs
- ProtocolsConfigurationHandler.cs
- DataGridHeaderBorder.cs
- DescendantBaseQuery.cs
- CommonDialog.cs
- ConfigurationElementProperty.cs
- XamlReaderConstants.cs
- KnownColorTable.cs
- PerfCounters.cs
- FamilyTypeface.cs
- TreeNode.cs
- PaginationProgressEventArgs.cs
- InputScopeConverter.cs
- OciHandle.cs
- IOException.cs
- GCHandleCookieTable.cs
- CodeSubDirectoriesCollection.cs
- DataMisalignedException.cs
- HtmlInputRadioButton.cs
- MembershipUser.cs
- MarkupCompiler.cs
- SafeLibraryHandle.cs
- Setter.cs
- ChtmlCalendarAdapter.cs
- MatrixTransform.cs
- NavigationPropertyEmitter.cs
- XmlnsPrefixAttribute.cs
- XmlCompatibilityReader.cs
- IListConverters.cs
- WebPartCloseVerb.cs
- DataGridViewEditingControlShowingEventArgs.cs
- MenuAdapter.cs
- Setter.cs
- UnsafeNativeMethods.cs
- DBSqlParserColumnCollection.cs
- _ChunkParse.cs
- FixedSOMPageElement.cs
- AlphabeticalEnumConverter.cs
- DataGridViewBand.cs
- CommandSet.cs
- SelectedGridItemChangedEvent.cs
- NumberFormatInfo.cs
- RenderData.cs
- ZipIOModeEnforcingStream.cs
- ProcessModelSection.cs
- UInt64Storage.cs
- ExpandedWrapper.cs
- WebPartEditVerb.cs
- XDeferredAxisSource.cs
- ProviderUtil.cs
- DataBoundControlHelper.cs
- HtmlInputText.cs
- SoapAttributeOverrides.cs
- WebPartManagerInternals.cs
- RootContext.cs
- DispatcherSynchronizationContext.cs
- XmlValueConverter.cs
- StorageEntityContainerMapping.cs
- StateInitializationDesigner.cs
- TreeNodeSelectionProcessor.cs
- ListViewItem.cs
- CommandHelpers.cs
- StatusBarDesigner.cs
- ErrorFormatterPage.cs
- ToolStripSeparatorRenderEventArgs.cs
- DBNull.cs
- PrivilegedConfigurationManager.cs
- TextTreeDeleteContentUndoUnit.cs
- JsonDataContract.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- RadioButton.cs
- AttachedPropertyBrowsableAttribute.cs
- DesignDataSource.cs
- ContextProperty.cs
- MessageBox.cs
- NavigatingCancelEventArgs.cs
- EventMap.cs
- WindowExtensionMethods.cs
- EvidenceTypeDescriptor.cs
- infer.cs
- hresults.cs
- PersonalizablePropertyEntry.cs