Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or setes /// the text of the comment. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- COM2IDispatchConverter.cs
- ScriptServiceAttribute.cs
- MessageFilterTable.cs
- recordstate.cs
- DescendantOverDescendantQuery.cs
- _RequestCacheProtocol.cs
- HashAlgorithm.cs
- LazyTextWriterCreator.cs
- CompiledQuery.cs
- DbConnectionHelper.cs
- CurrencyWrapper.cs
- ZipIORawDataFileBlock.cs
- Effect.cs
- validationstate.cs
- ZeroOpNode.cs
- HotSpotCollection.cs
- WizardPanelChangingEventArgs.cs
- RotateTransform3D.cs
- FlagsAttribute.cs
- StickyNoteContentControl.cs
- FormParameter.cs
- HybridObjectCache.cs
- OdbcPermission.cs
- _NestedSingleAsyncResult.cs
- HandlerMappingMemo.cs
- ShapingEngine.cs
- PeerCollaborationPermission.cs
- CollectionBuilder.cs
- ButtonBase.cs
- DataGridViewTopRowAccessibleObject.cs
- DynamicControlParameter.cs
- BooleanAnimationUsingKeyFrames.cs
- ClientBuildManagerCallback.cs
- DataGridViewRowCollection.cs
- PreviewPrintController.cs
- LineGeometry.cs
- DebugHandleTracker.cs
- String.cs
- XslAst.cs
- UrlMappingCollection.cs
- AggregateNode.cs
- TextBlockAutomationPeer.cs
- PropertyConverter.cs
- BaseParaClient.cs
- pingexception.cs
- FileLogRecordHeader.cs
- TextParagraphCache.cs
- SqlUserDefinedTypeAttribute.cs
- XmlILConstructAnalyzer.cs
- SHA256CryptoServiceProvider.cs
- EntryPointNotFoundException.cs
- PolicyChain.cs
- TypeDescriptionProviderAttribute.cs
- AmbientProperties.cs
- WebConfigurationHost.cs
- MasterPage.cs
- XPathAxisIterator.cs
- FormClosedEvent.cs
- BitmapFrame.cs
- ExclusiveHandle.cs
- Stylus.cs
- ReferenceConverter.cs
- MobileComponentEditorPage.cs
- UpdateTracker.cs
- SoapParser.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ChannelPoolSettingsElement.cs
- TargetControlTypeAttribute.cs
- ApplicationDirectory.cs
- ElementHostPropertyMap.cs
- FrameSecurityDescriptor.cs
- CodeExpressionStatement.cs
- AttachInfo.cs
- ServiceSecurityContext.cs
- ScalarRestriction.cs
- NameValuePermission.cs
- DbDataReader.cs
- TextRange.cs
- UntypedNullExpression.cs
- QueryConverter.cs
- StaticSiteMapProvider.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ExpressionConverter.cs
- MimeMapping.cs
- DefaultConfirmation.cs
- ListParaClient.cs
- XmlBinaryReader.cs
- CachedBitmap.cs
- MultipleViewProviderWrapper.cs
- HeaderElement.cs
- MimeMapping.cs
- ImageButton.cs
- XamlFigureLengthSerializer.cs
- ProxyFragment.cs
- Transform3DGroup.cs
- XmlNullResolver.cs
- StrokeNode.cs
- LineSegment.cs
- Int32RectValueSerializer.cs
- RegistryKey.cs