Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- InvalidAsynchronousStateException.cs
- CaretElement.cs
- ItemCheckEvent.cs
- SqlNodeAnnotations.cs
- KeyBinding.cs
- BindStream.cs
- CultureInfo.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ServiceContractGenerationContext.cs
- SizeChangedInfo.cs
- DeploymentSectionCache.cs
- ParseElement.cs
- FrameworkContentElement.cs
- HtmlInputSubmit.cs
- pingexception.cs
- SQLInt64Storage.cs
- WmpBitmapEncoder.cs
- Size.cs
- AspCompat.cs
- BadImageFormatException.cs
- ParsedAttributeCollection.cs
- DeleteHelper.cs
- RSAPKCS1SignatureFormatter.cs
- VisualBrush.cs
- EndpointNotFoundException.cs
- XPathEmptyIterator.cs
- DefaultTextStoreTextComposition.cs
- Decorator.cs
- MouseCaptureWithinProperty.cs
- Overlapped.cs
- OptimalBreakSession.cs
- JoinCqlBlock.cs
- NotFiniteNumberException.cs
- AnnotationComponentChooser.cs
- ToolStripItemRenderEventArgs.cs
- CompModHelpers.cs
- DoubleLink.cs
- StorageMappingItemLoader.cs
- SHA384Managed.cs
- UriTemplateQueryValue.cs
- XamlStyleSerializer.cs
- FlagsAttribute.cs
- ProcessThread.cs
- odbcmetadatacollectionnames.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- FontStretchConverter.cs
- FieldNameLookup.cs
- TemplateBuilder.cs
- ListViewItemMouseHoverEvent.cs
- CodeCatchClause.cs
- ClientRolePrincipal.cs
- __ConsoleStream.cs
- ChangePassword.cs
- SqlProviderUtilities.cs
- WebPartsPersonalization.cs
- XPathException.cs
- FixedNode.cs
- GridToolTip.cs
- StringResourceManager.cs
- SinglePageViewer.cs
- IPAddress.cs
- NullableIntMinMaxAggregationOperator.cs
- InputScopeManager.cs
- OdbcErrorCollection.cs
- RadioButtonList.cs
- Expander.cs
- RawStylusInputCustomData.cs
- LowerCaseStringConverter.cs
- CalendarSelectionChangedEventArgs.cs
- ObjectManager.cs
- ImmutableCommunicationTimeouts.cs
- WindowsAltTab.cs
- Stack.cs
- WizardStepBase.cs
- HtmlTableCellCollection.cs
- SqlOuterApplyReducer.cs
- NonParentingControl.cs
- SettingsBase.cs
- SRGSCompiler.cs
- FixedSOMFixedBlock.cs
- IssuanceLicense.cs
- NetMsmqBindingElement.cs
- InitializationEventAttribute.cs
- ConnectionStringEditor.cs
- ModuleElement.cs
- Transform3DCollection.cs
- Style.cs
- Context.cs
- ScriptResourceInfo.cs
- CodeAttributeDeclaration.cs
- TypeValidationEventArgs.cs
- AnonymousIdentificationSection.cs
- DropShadowEffect.cs
- SmiContext.cs
- ChtmlLinkAdapter.cs
- BaseWebProxyFinder.cs
- HttpRequest.cs
- StructuredTypeInfo.cs
- DecoderBestFitFallback.cs
- webclient.cs