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
- SocketConnection.cs
- DictionaryEntry.cs
- TextServicesCompartmentEventSink.cs
- ContextMenuStrip.cs
- ToolStripItemDataObject.cs
- FormatSettings.cs
- RuleInfoComparer.cs
- Socket.cs
- MethodCallConverter.cs
- LogStream.cs
- CompiledQuery.cs
- DateTimeValueSerializer.cs
- IndexingContentUnit.cs
- SimpleMailWebEventProvider.cs
- ServerValidateEventArgs.cs
- Converter.cs
- PointLight.cs
- Msmq4SubqueuePoisonHandler.cs
- WindowsGraphics.cs
- CollectionContainer.cs
- StylusPointCollection.cs
- ITreeGenerator.cs
- PassportIdentity.cs
- InvalidComObjectException.cs
- WebPartConnectionsConfigureVerb.cs
- RowSpanVector.cs
- ConfigurationManagerInternalFactory.cs
- MetafileHeaderWmf.cs
- LoginDesigner.cs
- PartitionResolver.cs
- FileDialog_Vista_Interop.cs
- XmlNodeChangedEventArgs.cs
- ResourcePart.cs
- XamlTreeBuilderBamlRecordWriter.cs
- VBCodeProvider.cs
- DefaultValueMapping.cs
- RadialGradientBrush.cs
- GZipStream.cs
- ActivityPreviewDesigner.cs
- ProcessManager.cs
- SynchronizationContext.cs
- BamlVersionHeader.cs
- ObjectAnimationUsingKeyFrames.cs
- TextReturnReader.cs
- EventSinkHelperWriter.cs
- DataGridViewTopRowAccessibleObject.cs
- ParameterBuilder.cs
- ReflectionServiceProvider.cs
- TextBreakpoint.cs
- TreeNode.cs
- WebReference.cs
- Exceptions.cs
- ScriptReference.cs
- DesignParameter.cs
- UrlPropertyAttribute.cs
- ButtonBaseAutomationPeer.cs
- QuaternionAnimationUsingKeyFrames.cs
- _ConnectStream.cs
- BamlBinaryReader.cs
- DateTimeOffset.cs
- Misc.cs
- SiteMapNodeItemEventArgs.cs
- XmlChildNodes.cs
- DataTableMapping.cs
- ItemPager.cs
- AxisAngleRotation3D.cs
- XPathParser.cs
- InvalidPropValue.cs
- Path.cs
- FontConverter.cs
- AdCreatedEventArgs.cs
- EncodingTable.cs
- _OverlappedAsyncResult.cs
- DependentTransaction.cs
- Compiler.cs
- TextElementEditingBehaviorAttribute.cs
- BuilderElements.cs
- ScopeElement.cs
- ExtentJoinTreeNode.cs
- MetadataItem.cs
- ScrollBar.cs
- WindowInteractionStateTracker.cs
- SelectionChangedEventArgs.cs
- baseaxisquery.cs
- SafeRegistryKey.cs
- FacetValueContainer.cs
- Point4D.cs
- ConvertTextFrag.cs
- TransformConverter.cs
- PublisherIdentityPermission.cs
- Delegate.cs
- SymbolPair.cs
- ExpressionLink.cs
- GridViewDeleteEventArgs.cs
- InternalSendMessage.cs
- followingsibling.cs
- ProviderConnectionPointCollection.cs
- RegionData.cs
- ValueHandle.cs
- MemoryRecordBuffer.cs