Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCommentStatement.cs / 1305376 / CodeCommentStatement.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;
///
/// Represents a comment.
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeCommentStatement : CodeStatement {
private CodeComment comment;
///
///
/// Initializes a new instance of .
///
///
public CodeCommentStatement() {
}
///
/// [To be supplied.]
///
public CodeCommentStatement(CodeComment comment) {
this.comment = comment;
}
///
///
/// Initializes a new instance of with the specified text as
/// contents.
///
///
public CodeCommentStatement(string text) {
comment = new CodeComment(text);
}
///
/// [To be supplied.]
///
public CodeCommentStatement(string text, bool docComment) {
comment = new CodeComment(text, docComment);
}
///
/// [To be supplied.]
///
public CodeComment Comment {
get {
return comment;
}
set {
comment = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IteratorFilter.cs
- XmlTextReaderImplHelpers.cs
- TableRow.cs
- FixedSOMPageElement.cs
- SystemDiagnosticsSection.cs
- ImageIndexConverter.cs
- Lease.cs
- FontResourceCache.cs
- WebPartEditorCancelVerb.cs
- WindowsListViewSubItem.cs
- SubclassTypeValidator.cs
- ProcessHostConfigUtils.cs
- EditorAttribute.cs
- Semaphore.cs
- OneOfElement.cs
- BulletedListEventArgs.cs
- BindingContext.cs
- ButtonBaseAutomationPeer.cs
- Decimal.cs
- StringFreezingAttribute.cs
- TextElementCollection.cs
- View.cs
- SimpleHandlerFactory.cs
- TrackingQueryElement.cs
- CommonObjectSecurity.cs
- RelationshipWrapper.cs
- IApplicationTrustManager.cs
- CodeMemberEvent.cs
- QilPatternFactory.cs
- ScriptManager.cs
- UnsafeNativeMethods.cs
- RequiredFieldValidator.cs
- InfoCardTraceRecord.cs
- SearchExpression.cs
- QueryExpr.cs
- FilteredReadOnlyMetadataCollection.cs
- DiscoveryDocumentLinksPattern.cs
- Cursors.cs
- X509AsymmetricSecurityKey.cs
- TabControlCancelEvent.cs
- IOException.cs
- HtmlTableRow.cs
- Delay.cs
- ProtocolsConfigurationHandler.cs
- COM2FontConverter.cs
- ToolboxItemFilterAttribute.cs
- ClientTarget.cs
- Win32.cs
- DoubleLinkListEnumerator.cs
- RegisteredScript.cs
- MultiDataTrigger.cs
- PropertyGroupDescription.cs
- ColumnCollection.cs
- Column.cs
- BlobPersonalizationState.cs
- PeerTransportElement.cs
- XmlWrappingReader.cs
- ResourceProviderFactory.cs
- _Events.cs
- diagnosticsswitches.cs
- WebPartEventArgs.cs
- HtmlContainerControl.cs
- ListMarkerLine.cs
- PrePostDescendentsWalker.cs
- DllNotFoundException.cs
- XmlWriter.cs
- NumberFormatter.cs
- XmlDataSource.cs
- TimeSpan.cs
- CreateUserErrorEventArgs.cs
- HttpPostedFile.cs
- BindingListCollectionView.cs
- util.cs
- ColumnMap.cs
- AndCondition.cs
- FileLogRecordStream.cs
- AuthenticationConfig.cs
- UserControlAutomationPeer.cs
- ControlBuilderAttribute.cs
- TargetInvocationException.cs
- JapaneseLunisolarCalendar.cs
- XmlUrlResolver.cs
- AsyncOperationManager.cs
- DesignerActionUIStateChangeEventArgs.cs
- DateTimeHelper.cs
- PolicyStatement.cs
- indexingfiltermarshaler.cs
- XmlAggregates.cs
- SrgsDocumentParser.cs
- CodeGotoStatement.cs
- RSAPKCS1SignatureFormatter.cs
- TextElementEnumerator.cs
- ProfileInfo.cs
- ItemsControlAutomationPeer.cs
- ToolStripGrip.cs
- SignerInfo.cs
- ConsoleCancelEventArgs.cs
- StdValidatorsAndConverters.cs
- DirectionalLight.cs
- TypeConverterHelper.cs