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
- XmlSchemaComplexContentExtension.cs
- WindowsIPAddress.cs
- DefaultTraceListener.cs
- QuaternionAnimation.cs
- HelpInfo.cs
- Pkcs9Attribute.cs
- MetadataSerializer.cs
- StylusShape.cs
- IncrementalReadDecoders.cs
- SslStream.cs
- FocusWithinProperty.cs
- XmlSchemaComplexContentExtension.cs
- QueryModel.cs
- Decorator.cs
- ContextMenu.cs
- EpmTargetPathSegment.cs
- DataGridViewColumnHeaderCell.cs
- SymLanguageType.cs
- ModifiableIteratorCollection.cs
- ApplicationBuildProvider.cs
- InternalResources.cs
- CoreSwitches.cs
- XmlSchemaAnnotation.cs
- SchemaContext.cs
- PaintValueEventArgs.cs
- ObjectSecurity.cs
- MonikerHelper.cs
- CompressedStack.cs
- BooleanStorage.cs
- ByteFacetDescriptionElement.cs
- VSWCFServiceContractGenerator.cs
- ContextDataSourceView.cs
- CqlLexer.cs
- FilePrompt.cs
- RenderTargetBitmap.cs
- CodeCompiler.cs
- FilteredDataSetHelper.cs
- FilterException.cs
- MemoryFailPoint.cs
- UdpContractFilterBehavior.cs
- XmlHierarchyData.cs
- cache.cs
- X509SecurityTokenAuthenticator.cs
- LocalizableAttribute.cs
- BoundColumn.cs
- AsymmetricAlgorithm.cs
- MessageEventSubscriptionService.cs
- SqlClientFactory.cs
- ActivityBuilderHelper.cs
- AncillaryOps.cs
- AccessText.cs
- TextEditorParagraphs.cs
- Int32CAMarshaler.cs
- Int64AnimationUsingKeyFrames.cs
- EventToken.cs
- ZipArchive.cs
- XmlLoader.cs
- PrinterSettings.cs
- TdsRecordBufferSetter.cs
- XmlTextEncoder.cs
- Line.cs
- __ComObject.cs
- CodeAccessSecurityEngine.cs
- CompiledIdentityConstraint.cs
- ControlPaint.cs
- ProfileBuildProvider.cs
- HwndStylusInputProvider.cs
- PublishLicense.cs
- DataServiceRequest.cs
- PerspectiveCamera.cs
- SByteStorage.cs
- SemanticAnalyzer.cs
- GregorianCalendarHelper.cs
- MenuBindingsEditor.cs
- AVElementHelper.cs
- XPathConvert.cs
- Thread.cs
- VerificationAttribute.cs
- AmbientProperties.cs
- SessionEndingCancelEventArgs.cs
- WpfSharedXamlSchemaContext.cs
- PlatformCulture.cs
- LinkLabel.cs
- SerializerDescriptor.cs
- UInt64Storage.cs
- ExpressionHelper.cs
- CombinedGeometry.cs
- ClusterSafeNativeMethods.cs
- CustomErrorsSection.cs
- JavaScriptSerializer.cs
- WorkflowDesigner.cs
- RoleService.cs
- ImportCatalogPart.cs
- VisualCollection.cs
- ConfigPathUtility.cs
- DiscreteKeyFrames.cs
- SchemeSettingElement.cs
- SharedConnectionInfo.cs
- QilPatternFactory.cs
- MetadataException.cs