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
- ContextQuery.cs
- DateTimeStorage.cs
- HttpInputStream.cs
- CorePropertiesFilter.cs
- StateMachineExecutionState.cs
- CompressedStack.cs
- DataContext.cs
- ControlEvent.cs
- AsyncResult.cs
- FreeFormPanel.cs
- RadioButtonRenderer.cs
- ShaderEffect.cs
- DataGridViewAutoSizeModeEventArgs.cs
- GenerateScriptTypeAttribute.cs
- XmlSerializer.cs
- SiteIdentityPermission.cs
- AliasedSlot.cs
- InkCanvasAutomationPeer.cs
- XmlSchemaComplexType.cs
- WebPartVerbCollection.cs
- PrintPreviewDialog.cs
- Debug.cs
- XmlWrappingReader.cs
- DataTable.cs
- NetworkInformationException.cs
- ProviderConnectionPointCollection.cs
- Int64Storage.cs
- AddIn.cs
- MatrixTransform3D.cs
- PlainXmlSerializer.cs
- ObjectTypeMapping.cs
- DataGridViewMethods.cs
- SymbolMethod.cs
- TraceContext.cs
- Wrapper.cs
- _NetRes.cs
- objectquery_tresulttype.cs
- EventlogProvider.cs
- TypeUsage.cs
- FieldAccessException.cs
- ReadWriteSpinLock.cs
- SQLGuidStorage.cs
- TextViewBase.cs
- KeyEventArgs.cs
- PropertyNames.cs
- WindowsImpersonationContext.cs
- oledbmetadatacollectionnames.cs
- GetTokenRequest.cs
- OracleConnectionStringBuilder.cs
- CodeVariableReferenceExpression.cs
- PageAsyncTask.cs
- SqlComparer.cs
- SecurityPolicySection.cs
- _ContextAwareResult.cs
- HyperLinkStyle.cs
- FileUpload.cs
- ListControl.cs
- MailDefinition.cs
- elementinformation.cs
- CodeTypeConstructor.cs
- DataGridViewColumn.cs
- PrintEvent.cs
- NullReferenceException.cs
- RuleRefElement.cs
- System.Data_BID.cs
- BitStack.cs
- StickyNoteHelper.cs
- Roles.cs
- TransactionInformation.cs
- LinkLabel.cs
- FormViewAutoFormat.cs
- PolyLineSegmentFigureLogic.cs
- XmlMembersMapping.cs
- WebScriptMetadataMessageEncoderFactory.cs
- _NestedSingleAsyncResult.cs
- ObjectConverter.cs
- TextEditorCharacters.cs
- SafeNativeMethodsOther.cs
- ArrayExtension.cs
- Crypto.cs
- CommonGetThemePartSize.cs
- MemberMemberBinding.cs
- BitmapCacheBrush.cs
- DropShadowEffect.cs
- ResizeGrip.cs
- SoapProtocolImporter.cs
- TreeNode.cs
- ArrangedElementCollection.cs
- EditorPartChrome.cs
- CompilationUtil.cs
- FloaterBaseParaClient.cs
- PointAnimationBase.cs
- SplineKeyFrames.cs
- BooleanExpr.cs
- WindowsListViewSubItem.cs
- OracleDateTime.cs
- ExecutionTracker.cs
- XmlSchemaCollection.cs
- ApplyImportsAction.cs
- TagMapInfo.cs