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
- DemultiplexingClientMessageFormatter.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ActiveDocumentEvent.cs
- CompareInfo.cs
- StreamUpgradeInitiator.cs
- Comparer.cs
- UdpDuplexChannel.cs
- MouseGesture.cs
- NameValueConfigurationCollection.cs
- TypeRestriction.cs
- FilteredXmlReader.cs
- RichTextBoxConstants.cs
- TextStore.cs
- HttpHandlerAction.cs
- LocalIdKeyIdentifierClause.cs
- SiteMap.cs
- AudioDeviceOut.cs
- contentDescriptor.cs
- DBParameter.cs
- ServiceReference.cs
- SettingsBindableAttribute.cs
- XPathEmptyIterator.cs
- TypeUsageBuilder.cs
- MatrixTransform.cs
- Int32Storage.cs
- FileDialogCustomPlacesCollection.cs
- StylusButtonEventArgs.cs
- Line.cs
- ActivationService.cs
- SafeTokenHandle.cs
- CodeAccessSecurityEngine.cs
- ExpressionEditorAttribute.cs
- SafeReversePInvokeHandle.cs
- Transform.cs
- WriteableBitmap.cs
- MemberCollection.cs
- TextBoxLine.cs
- Win32PrintDialog.cs
- NavigationPropertyEmitter.cs
- StateMachine.cs
- ReadOnlyCollectionBase.cs
- ISFTagAndGuidCache.cs
- AnimationLayer.cs
- BindingMemberInfo.cs
- DataBinder.cs
- SqlConnectionStringBuilder.cs
- OleDbEnumerator.cs
- CreationContext.cs
- Hex.cs
- LocalizedNameDescriptionPair.cs
- QueueProcessor.cs
- CharacterBufferReference.cs
- BitmapEffectrendercontext.cs
- QueryableDataSourceView.cs
- PropertyPathConverter.cs
- ParameterDataSourceExpression.cs
- SmtpReplyReaderFactory.cs
- DesignTable.cs
- XmlIlVisitor.cs
- EndPoint.cs
- IPEndPointCollection.cs
- LiteralControl.cs
- XmlDataSourceView.cs
- ScrollBar.cs
- Button.cs
- DataGridCellEditEndingEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- CompensatableTransactionScopeActivityDesigner.cs
- SizeAnimation.cs
- WindowsGraphicsCacheManager.cs
- DateTimeStorage.cs
- DocumentOrderQuery.cs
- ResourcePart.cs
- ObjectStateEntry.cs
- ListItem.cs
- RegistryKey.cs
- List.cs
- ExtensionFile.cs
- HeaderedItemsControl.cs
- TreeNodeStyle.cs
- MsmqInputMessagePool.cs
- Module.cs
- XmlIterators.cs
- QilTernary.cs
- ModulesEntry.cs
- DesignerSerializerAttribute.cs
- Set.cs
- SubMenuStyleCollection.cs
- AtomContentProperty.cs
- ColorTranslator.cs
- WebPartZoneCollection.cs
- ComponentCollection.cs
- While.cs
- uribuilder.cs
- SiteMapPath.cs
- ExtensionDataObject.cs
- OpCellTreeNode.cs
- TextEditorThreadLocalStore.cs
- LockedHandleGlyph.cs
- BindingNavigator.cs