Code:
/ FX-1434 / FX-1434 / 1.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
- PinnedBufferMemoryStream.cs
- _BaseOverlappedAsyncResult.cs
- UdpChannelFactory.cs
- TypeGeneratedEventArgs.cs
- Int16Animation.cs
- TableLayoutColumnStyleCollection.cs
- StateRuntime.cs
- TextDecorations.cs
- InlineCollection.cs
- BinaryMethodMessage.cs
- TransactionManagerProxy.cs
- AuthenticationManager.cs
- ColumnTypeConverter.cs
- LongValidator.cs
- TextParagraphView.cs
- DataGridPagingPage.cs
- VScrollBar.cs
- DbProviderFactories.cs
- RC2.cs
- Span.cs
- CFStream.cs
- EntitySqlQueryBuilder.cs
- Viewport2DVisual3D.cs
- SpinLock.cs
- SQLDouble.cs
- HGlobalSafeHandle.cs
- TypeDescriptor.cs
- ProcessInfo.cs
- Comparer.cs
- HtmlElement.cs
- ScalarConstant.cs
- RNGCryptoServiceProvider.cs
- CryptoStream.cs
- XmlSignatureProperties.cs
- SynchronizationScope.cs
- ResolveDuplex11AsyncResult.cs
- ProcessMonitor.cs
- DependencyPropertyValueSerializer.cs
- Transform.cs
- ColumnMapTranslator.cs
- WindowsNonControl.cs
- Helpers.cs
- RectangleGeometry.cs
- MutableAssemblyCacheEntry.cs
- ErrorWrapper.cs
- PropertiesTab.cs
- CodeTypeReference.cs
- RuntimeWrappedException.cs
- SecurityState.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- CultureInfo.cs
- IgnoreFlushAndCloseStream.cs
- XmlDataSourceView.cs
- SeparatorAutomationPeer.cs
- SkewTransform.cs
- BitmapInitialize.cs
- ISFClipboardData.cs
- EventLogTraceListener.cs
- BindingContext.cs
- SqlDataSource.cs
- TiffBitmapEncoder.cs
- DbgCompiler.cs
- Operand.cs
- AddInProcess.cs
- DiscreteKeyFrames.cs
- UniqueIdentifierService.cs
- RawUIStateInputReport.cs
- Panel.cs
- CancelRequestedQuery.cs
- CodeGenerator.cs
- SqlConnectionString.cs
- PerformanceCounterLib.cs
- WebConfigurationHostFileChange.cs
- CapabilitiesUse.cs
- ValidationSummary.cs
- SqlDataSourceCommandParser.cs
- ArithmeticException.cs
- WebHttpSecurity.cs
- MultiPropertyDescriptorGridEntry.cs
- AnimatedTypeHelpers.cs
- SystemSounds.cs
- ChangeConflicts.cs
- PrinterResolution.cs
- DbUpdateCommandTree.cs
- CachedPathData.cs
- MarkupCompilePass1.cs
- StreamingContext.cs
- SqlCommandBuilder.cs
- Token.cs
- ListDictionaryInternal.cs
- XmlSchemaComplexType.cs
- SecurityKeyUsage.cs
- RowParagraph.cs
- DataMemberFieldConverter.cs
- ProcessModelSection.cs
- Module.cs
- SqlDataSource.cs
- XhtmlBasicObjectListAdapter.cs
- DropTarget.cs
- HttpMethodAttribute.cs