Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1 / WebSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(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; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the description text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(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; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // 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
- Baml2006SchemaContext.cs
- UserControlCodeDomTreeGenerator.cs
- Viewport3DAutomationPeer.cs
- LinkClickEvent.cs
- SelectionUIHandler.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ExceptionTrace.cs
- SimpleApplicationHost.cs
- MsdtcClusterUtils.cs
- WindowsProgressbar.cs
- CollectionsUtil.cs
- CaseInsensitiveComparer.cs
- PackageStore.cs
- ResXResourceSet.cs
- ErrorTolerantObjectWriter.cs
- SqlConnectionFactory.cs
- AdPostCacheSubstitution.cs
- ListViewInsertedEventArgs.cs
- EntityCommandCompilationException.cs
- GCHandleCookieTable.cs
- webbrowsersite.cs
- COM2FontConverter.cs
- wgx_render.cs
- PrintDialog.cs
- EventLogPermission.cs
- PlaceHolder.cs
- Zone.cs
- SequentialWorkflowHeaderFooter.cs
- WindowsAltTab.cs
- PeerCredential.cs
- base64Transforms.cs
- RuleSettingsCollection.cs
- SQLDoubleStorage.cs
- DependencyPropertyDescriptor.cs
- RecognitionEventArgs.cs
- CrossAppDomainChannel.cs
- invalidudtexception.cs
- PageOutputQuality.cs
- DispatchChannelSink.cs
- TextMarkerSource.cs
- FontWeight.cs
- RegexBoyerMoore.cs
- PrimitiveCodeDomSerializer.cs
- ThrowHelper.cs
- Literal.cs
- ImageDrawing.cs
- CaseCqlBlock.cs
- SqlSupersetValidator.cs
- SerialPort.cs
- HttpDigestClientCredential.cs
- WebPartActionVerb.cs
- CustomAttributeFormatException.cs
- XPathNavigator.cs
- RegularExpressionValidator.cs
- ResourceDisplayNameAttribute.cs
- DocumentCollection.cs
- OperandQuery.cs
- SerializationInfo.cs
- SelectionRange.cs
- BooleanSwitch.cs
- ForeignConstraint.cs
- HostingEnvironmentException.cs
- SystemIcmpV6Statistics.cs
- ButtonChrome.cs
- HTMLTagNameToTypeMapper.cs
- CodeAccessPermission.cs
- PenContext.cs
- ParentUndoUnit.cs
- LZCodec.cs
- WebPartConnectionsConfigureVerb.cs
- ToolStripRenderEventArgs.cs
- AddInController.cs
- InvokeHandlers.cs
- Select.cs
- WorkflowMarkupSerializationException.cs
- DataGridViewRowStateChangedEventArgs.cs
- RelationshipConverter.cs
- StandardOleMarshalObject.cs
- FaultHandlingFilter.cs
- XmlSerializerAssemblyAttribute.cs
- DeleteWorkflowOwnerCommand.cs
- SqlConnectionStringBuilder.cs
- QuotedStringFormatReader.cs
- VectorKeyFrameCollection.cs
- DetailsViewCommandEventArgs.cs
- AgileSafeNativeMemoryHandle.cs
- ComponentEditorPage.cs
- OracleConnection.cs
- ArrayWithOffset.cs
- ResXFileRef.cs
- SizeFConverter.cs
- Constants.cs
- IsolatedStorageFilePermission.cs
- SqlConnectionHelper.cs
- cookiecollection.cs
- ScaleTransform3D.cs
- SelectionItemProviderWrapper.cs
- TrackingProfileManager.cs
- HttpHandlersSection.cs
- SSmlParser.cs