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
- GridViewCancelEditEventArgs.cs
- AssemblyInfo.cs
- GraphicsPath.cs
- ProfileBuildProvider.cs
- CatalogZone.cs
- BuildManagerHost.cs
- IDQuery.cs
- KnownBoxes.cs
- WebPartConnectionsConfigureVerb.cs
- BaseUriHelper.cs
- TemplateControlBuildProvider.cs
- TemplateBuilder.cs
- LinqDataSourceValidationException.cs
- shaperfactoryquerycacheentry.cs
- XPathEmptyIterator.cs
- _NestedSingleAsyncResult.cs
- EventMappingSettings.cs
- UITypeEditor.cs
- TemplatedWizardStep.cs
- PagePropertiesChangingEventArgs.cs
- ImageButton.cs
- PropertyEmitter.cs
- MethodBuilder.cs
- ListViewEditEventArgs.cs
- XmlSchemaDocumentation.cs
- TerminatorSinks.cs
- FixedPageAutomationPeer.cs
- EarlyBoundInfo.cs
- LightweightCodeGenerator.cs
- UIElementPropertyUndoUnit.cs
- XamlSerializer.cs
- CharacterShapingProperties.cs
- Control.cs
- DataObjectCopyingEventArgs.cs
- control.ime.cs
- FontInfo.cs
- ItemCheckedEvent.cs
- DynamicPropertyReader.cs
- WebBrowserNavigatedEventHandler.cs
- AssemblyAssociatedContentFileAttribute.cs
- SQLDouble.cs
- BamlLocalizabilityResolver.cs
- TextDecorationCollection.cs
- AppDomainProtocolHandler.cs
- WebServiceErrorEvent.cs
- TileBrush.cs
- XmlDocumentSerializer.cs
- BatchStream.cs
- GZipDecoder.cs
- OperationCanceledException.cs
- ProviderConnectionPoint.cs
- XmlElementCollection.cs
- NativeMethods.cs
- DataReaderContainer.cs
- IisTraceWebEventProvider.cs
- Nullable.cs
- XmlConverter.cs
- PaintEvent.cs
- ObfuscateAssemblyAttribute.cs
- Module.cs
- ThemeDirectoryCompiler.cs
- WpfWebRequestHelper.cs
- SoapSchemaImporter.cs
- AssemblyBuilder.cs
- SetterBase.cs
- FunctionDefinition.cs
- Executor.cs
- LabelAutomationPeer.cs
- Table.cs
- AuthorizationRule.cs
- XmlNodeList.cs
- ZipIOLocalFileHeader.cs
- TargetPerspective.cs
- ArglessEventHandlerProxy.cs
- ToolStripDropDownClosingEventArgs.cs
- ComponentCommands.cs
- TypeConverterHelper.cs
- ScaleTransform.cs
- LinkedList.cs
- SoapEnumAttribute.cs
- CleanUpVirtualizedItemEventArgs.cs
- OleDbSchemaGuid.cs
- LinkClickEvent.cs
- HatchBrush.cs
- ThicknessAnimationUsingKeyFrames.cs
- DataPagerField.cs
- BooleanStorage.cs
- BuilderPropertyEntry.cs
- XslAst.cs
- FontEmbeddingManager.cs
- EntityViewGenerationConstants.cs
- WebPartUserCapability.cs
- PropertiesTab.cs
- IdentifierCollection.cs
- complextypematerializer.cs
- FormatException.cs
- FormViewRow.cs
- WindowsBrush.cs
- Deflater.cs
- AutoGeneratedField.cs