Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeComment.cs / 1 / CodeComment.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeComment : CodeObject { private string text; private bool docComment = false; ///Represents a comment. ////// public CodeComment() { } ////// Initializes a new instance of ///. /// /// public CodeComment(string text) { Text = text; } ////// Initializes a new instance of ///with the specified text as /// contents. /// /// public CodeComment(string text, bool docComment) { Text = text; this.docComment = docComment; } ///[To be supplied.] ////// public bool DocComment { get { return docComment; } set { docComment = value; } } ///[To be supplied.] ////// public string Text { get { return (text == null) ? string.Empty : text; } set { text = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or setes /// the text of the comment. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeComment : CodeObject { private string text; private bool docComment = false; ///Represents a comment. ////// public CodeComment() { } ////// Initializes a new instance of ///. /// /// public CodeComment(string text) { Text = text; } ////// Initializes a new instance of ///with the specified text as /// contents. /// /// public CodeComment(string text, bool docComment) { Text = text; this.docComment = docComment; } ///[To be supplied.] ////// public bool DocComment { get { return docComment; } set { docComment = value; } } ///[To be supplied.] ////// public string Text { get { return (text == null) ? string.Empty : text; } set { text = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or setes /// the text of the comment. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Win32.cs
- TagMapCollection.cs
- TrackingServices.cs
- ApplicationSecurityManager.cs
- StorageAssociationSetMapping.cs
- CultureInfoConverter.cs
- FactoryGenerator.cs
- FrameSecurityDescriptor.cs
- InkPresenterAutomationPeer.cs
- TextSelectionHighlightLayer.cs
- FormsAuthenticationModule.cs
- MessageBuffer.cs
- Process.cs
- RoleGroup.cs
- DataGridViewCellValueEventArgs.cs
- TriggerBase.cs
- HttpRawResponse.cs
- StylusPoint.cs
- TemplateBindingExtension.cs
- PrinterResolution.cs
- DesignTimeVisibleAttribute.cs
- HtmlElement.cs
- RSACryptoServiceProvider.cs
- fixedPageContentExtractor.cs
- StorageComplexPropertyMapping.cs
- HtmlControl.cs
- CodeTypeConstructor.cs
- SqlTriggerContext.cs
- ResponseBodyWriter.cs
- TextRangeBase.cs
- ObjectDataProvider.cs
- IndexedSelectQueryOperator.cs
- ObjectDataSource.cs
- SimpleNameService.cs
- Number.cs
- DeferredReference.cs
- ItemContainerPattern.cs
- XamlFigureLengthSerializer.cs
- HttpStaticObjectsCollectionBase.cs
- GregorianCalendarHelper.cs
- ContentElement.cs
- CorrelationResolver.cs
- FunctionDefinition.cs
- EventLogEntry.cs
- TrustManagerMoreInformation.cs
- IApplicationTrustManager.cs
- SmiXetterAccessMap.cs
- XamlTemplateSerializer.cs
- DataGridViewControlCollection.cs
- OracleCommand.cs
- WindowsSlider.cs
- MethodToken.cs
- SimpleBitVector32.cs
- SmiGettersStream.cs
- ListViewCommandEventArgs.cs
- BatchParser.cs
- WebExceptionStatus.cs
- PrintController.cs
- MyContact.cs
- SqlConnectionFactory.cs
- SrgsElementList.cs
- Unit.cs
- KeyValuePairs.cs
- EntitySqlQueryBuilder.cs
- CalendarDateChangedEventArgs.cs
- GenericPrincipal.cs
- HasCopySemanticsAttribute.cs
- PeerChannelListener.cs
- TypedTableBaseExtensions.cs
- CodeGeneratorOptions.cs
- ToolStripDropDownClosedEventArgs.cs
- _FixedSizeReader.cs
- RequiredArgumentAttribute.cs
- VerificationAttribute.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- ModelPropertyCollectionImpl.cs
- CompositeDataBoundControl.cs
- DependencyObjectCodeDomSerializer.cs
- HMACSHA256.cs
- AttachInfo.cs
- KeyedHashAlgorithm.cs
- HttpApplicationFactory.cs
- RemoveStoryboard.cs
- TemplatePropertyEntry.cs
- DrawToolTipEventArgs.cs
- JapaneseLunisolarCalendar.cs
- GeometryGroup.cs
- CurrentChangedEventManager.cs
- TypeForwardedToAttribute.cs
- RectAnimationBase.cs
- DocumentPropertiesDialog.cs
- DeferredReference.cs
- QilParameter.cs
- ScaleTransform3D.cs
- ServiceX509SecurityTokenProvider.cs
- DrawingImage.cs
- OverrideMode.cs
- Invariant.cs
- ModuleConfigurationInfo.cs