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
- CellCreator.cs
- ClusterSafeNativeMethods.cs
- Int32RectConverter.cs
- DesignerActionUIService.cs
- EventHandlerList.cs
- BinaryFormatter.cs
- DocumentPageTextView.cs
- Claim.cs
- log.cs
- StylusPointCollection.cs
- ObservableCollection.cs
- MSAAEventDispatcher.cs
- RadioButtonList.cs
- DesignerSerializerAttribute.cs
- FlowDocumentReaderAutomationPeer.cs
- AutoResetEvent.cs
- DbConnectionPool.cs
- SqlCommandBuilder.cs
- FrameworkContentElement.cs
- XmlSchemaType.cs
- URIFormatException.cs
- RequestCachePolicy.cs
- AbsoluteQuery.cs
- DecimalAnimationUsingKeyFrames.cs
- ProfileInfo.cs
- SizeValueSerializer.cs
- HuffmanTree.cs
- TableSectionStyle.cs
- JobCollate.cs
- ExpressionEditorAttribute.cs
- ObjectViewQueryResultData.cs
- CounterSample.cs
- GPRECTF.cs
- BulletedListEventArgs.cs
- WhitespaceSignificantCollectionAttribute.cs
- DateTime.cs
- connectionpool.cs
- TableItemPatternIdentifiers.cs
- ObjectViewFactory.cs
- ResXFileRef.cs
- AudioLevelUpdatedEventArgs.cs
- HtmlFormParameterReader.cs
- ProfileManager.cs
- CAGDesigner.cs
- _BaseOverlappedAsyncResult.cs
- ToolStripSystemRenderer.cs
- XmlQueryCardinality.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- TextDecoration.cs
- PreloadHost.cs
- Brush.cs
- FaultDesigner.cs
- Row.cs
- Stream.cs
- GPRECT.cs
- HandlerBase.cs
- ConnectionsZoneDesigner.cs
- LOSFormatter.cs
- Socket.cs
- ModifyActivitiesPropertyDescriptor.cs
- SessionPageStateSection.cs
- ServiceSettingsResponseInfo.cs
- ClipboardData.cs
- WeakReferenceList.cs
- Permission.cs
- EllipseGeometry.cs
- ProcessHostServerConfig.cs
- SamlDelegatingWriter.cs
- OleAutBinder.cs
- ArrayElementGridEntry.cs
- ToolBar.cs
- DictationGrammar.cs
- CommonRemoteMemoryBlock.cs
- FontFamilyValueSerializer.cs
- HWStack.cs
- SourceChangedEventArgs.cs
- ContextQuery.cs
- SHA256.cs
- VerticalAlignConverter.cs
- WebPartHeaderCloseVerb.cs
- CallTemplateAction.cs
- TextEditorThreadLocalStore.cs
- Tablet.cs
- TextMetrics.cs
- WorkflowServiceNamespace.cs
- ProxySimple.cs
- QueryCacheKey.cs
- CachingHintValidation.cs
- WindowsStartMenu.cs
- HashHelper.cs
- ADConnectionHelper.cs
- DataGridViewDataConnection.cs
- SystemResourceHost.cs
- InitializerFacet.cs
- DefaultObjectMappingItemCollection.cs
- TreeNodeMouseHoverEvent.cs
- GregorianCalendar.cs
- XPathAncestorIterator.cs
- ReceiveActivityDesignerTheme.cs
- SortFieldComparer.cs