Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or setes /// the text of the comment. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or setes /// the text of the comment. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlButton.cs
- ToolStripDropDownClosedEventArgs.cs
- UInt32.cs
- CodeCommentStatementCollection.cs
- IntSecurity.cs
- FlowDocumentFormatter.cs
- HostedHttpRequestAsyncResult.cs
- ReferenceEqualityComparer.cs
- MinimizableAttributeTypeConverter.cs
- XmlTextAttribute.cs
- AttachedAnnotation.cs
- WindowsGraphics.cs
- DbDataAdapter.cs
- BindingOperations.cs
- LateBoundBitmapDecoder.cs
- LineMetrics.cs
- CollectionBuilder.cs
- ObjectListSelectEventArgs.cs
- WebRequestModuleElementCollection.cs
- ValueTable.cs
- MetadataItemCollectionFactory.cs
- AsyncSerializedWorker.cs
- TargetControlTypeCache.cs
- UnicastIPAddressInformationCollection.cs
- TiffBitmapEncoder.cs
- SiteOfOriginContainer.cs
- ErrorActivity.cs
- CodeDomConfigurationHandler.cs
- Part.cs
- XmlCompatibilityReader.cs
- ClientUrlResolverWrapper.cs
- WCFBuildProvider.cs
- ToolStripInSituService.cs
- DropShadowBitmapEffect.cs
- PackageFilter.cs
- KerberosRequestorSecurityToken.cs
- LicenseException.cs
- LinqExpressionNormalizer.cs
- FormViewCommandEventArgs.cs
- TargetControlTypeAttribute.cs
- InvalidOleVariantTypeException.cs
- EllipticalNodeOperations.cs
- DynamicPropertyReader.cs
- TargetPerspective.cs
- RadioButton.cs
- DefaultObjectMappingItemCollection.cs
- IssuedSecurityTokenProvider.cs
- BinHexEncoder.cs
- SectionUpdates.cs
- SelectionManager.cs
- IRCollection.cs
- OleDbConnectionFactory.cs
- UpdatePanelTrigger.cs
- DataServiceHost.cs
- WizardSideBarListControlItemEventArgs.cs
- DesignTimeVisibleAttribute.cs
- SourceItem.cs
- ADConnectionHelper.cs
- CompoundFileIOPermission.cs
- ObservableDictionary.cs
- DataRow.cs
- ForeignKeyFactory.cs
- ItemCollection.cs
- EventMappingSettingsCollection.cs
- FixedSOMTableRow.cs
- AttributeConverter.cs
- BooleanToVisibilityConverter.cs
- While.cs
- WebPartRestoreVerb.cs
- XmlILIndex.cs
- UnmanagedBitmapWrapper.cs
- XhtmlMobileTextWriter.cs
- ProcessInputEventArgs.cs
- TypeDelegator.cs
- BinaryFormatterWriter.cs
- FormsAuthenticationUser.cs
- TransformerInfoCollection.cs
- EventLogPermissionAttribute.cs
- ContentElementCollection.cs
- ServiceBehaviorAttribute.cs
- QilName.cs
- EmptyEnumerator.cs
- StyleCollection.cs
- ProtocolsConfiguration.cs
- XmlCDATASection.cs
- HtmlElementErrorEventArgs.cs
- GeneralTransform3DCollection.cs
- Processor.cs
- Typography.cs
- CounterCreationDataCollection.cs
- ScrollEvent.cs
- EntityDataSourceDesigner.cs
- MemoryPressure.cs
- DetailsViewRow.cs
- AssemblyName.cs
- CachedPathData.cs
- SizeValueSerializer.cs
- SafeFileHandle.cs
- BitmapCache.cs
- TabletDevice.cs