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
- ParameterBuilder.cs
- BinaryMethodMessage.cs
- Label.cs
- MatrixStack.cs
- XpsThumbnail.cs
- ClientSideProviderDescription.cs
- Keyboard.cs
- ObjectAssociationEndMapping.cs
- WorkItem.cs
- NullEntityWrapper.cs
- DataServiceRequestOfT.cs
- ProfileSettings.cs
- ListItemCollection.cs
- RawStylusInputCustomDataList.cs
- ReferenceService.cs
- FormsAuthenticationUser.cs
- IntPtr.cs
- SHA256.cs
- RawMouseInputReport.cs
- ToolStripItemGlyph.cs
- WSSecurityPolicy12.cs
- ReadOnlyCollection.cs
- NotifyIcon.cs
- PopupRoot.cs
- IdnMapping.cs
- InkCanvas.cs
- RepeatInfo.cs
- WizardSideBarListControlItem.cs
- DrawTreeNodeEventArgs.cs
- LinkLabelLinkClickedEvent.cs
- XmlNode.cs
- CompositeDispatchFormatter.cs
- MetadataCollection.cs
- X509SubjectKeyIdentifierClause.cs
- XmlTextWriter.cs
- LoginUtil.cs
- KnownColorTable.cs
- GestureRecognitionResult.cs
- SemanticResultKey.cs
- MessageBox.cs
- CodeConditionStatement.cs
- GeneralTransform3DGroup.cs
- ListManagerBindingsCollection.cs
- FilterEventArgs.cs
- EntityDataSourceWizardForm.cs
- GlyphElement.cs
- ObjectStateFormatter.cs
- XmlSchemaSimpleContent.cs
- EventPropertyMap.cs
- SqlTypeConverter.cs
- PropertyGeneratedEventArgs.cs
- XmlSchemaImporter.cs
- AuthenticationService.cs
- WebWorkflowRole.cs
- BookmarkScope.cs
- EntityCommandDefinition.cs
- Timer.cs
- ComPlusServiceHost.cs
- ThreadExceptionDialog.cs
- MenuItem.cs
- ReadOnlyDictionary.cs
- PrtTicket_Public.cs
- Pen.cs
- ToolstripProfessionalRenderer.cs
- RegexBoyerMoore.cs
- SecurityCriticalDataForSet.cs
- ExpressionConverter.cs
- ComponentEditorPage.cs
- Matrix.cs
- IndexingContentUnit.cs
- TextEditorSpelling.cs
- NetStream.cs
- HttpClientChannel.cs
- BindingManagerDataErrorEventArgs.cs
- ManipulationLogic.cs
- ManagedFilter.cs
- Helpers.cs
- MimeReflector.cs
- SymbolTable.cs
- WorkflowDesignerColors.cs
- WebServiceMethodData.cs
- NameValuePermission.cs
- TagPrefixAttribute.cs
- Matrix3DStack.cs
- RoleManagerModule.cs
- HtmlMeta.cs
- Crypto.cs
- RuleSetBrowserDialog.cs
- ChannelCredentials.cs
- AudioStateChangedEventArgs.cs
- RsaSecurityTokenParameters.cs
- TrackPointCollection.cs
- XamlTemplateSerializer.cs
- TemplateManager.cs
- QilStrConcat.cs
- FusionWrap.cs
- DelegateBodyWriter.cs
- PropertyInformationCollection.cs
- OdbcConnectionFactory.cs
- SqlDependencyListener.cs