Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetStatement.cs / 1 / CodeSnippetStatement.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 snippet statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetStatement : CodeStatement {
private string value;
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetStatement() {
}
///
///
/// Initializes a new instance of using the specified snippet
/// of code.
///
///
public CodeSnippetStatement(string value) {
Value = value;
}
///
///
/// Gets or sets the snippet statement.
///
///
public string Value {
get {
return (value == null) ? string.Empty : value;
}
set {
this.value = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// 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 snippet statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetStatement : CodeStatement {
private string value;
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetStatement() {
}
///
///
/// Initializes a new instance of using the specified snippet
/// of code.
///
///
public CodeSnippetStatement(string value) {
Value = value;
}
///
///
/// Gets or sets the snippet statement.
///
///
public string Value {
get {
return (value == null) ? string.Empty : value;
}
set {
this.value = 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
- AnimatedTypeHelpers.cs
- ExtensionWindow.cs
- ListBoxChrome.cs
- InvalidEnumArgumentException.cs
- SafeMILHandle.cs
- MethodBody.cs
- HTTPAPI_VERSION.cs
- XPathNode.cs
- Sentence.cs
- Filter.cs
- XmlDataSourceNodeDescriptor.cs
- CodeDirectiveCollection.cs
- RefreshResponseInfo.cs
- ToolStripSettings.cs
- OutputCacheEntry.cs
- WindowsSlider.cs
- _ScatterGatherBuffers.cs
- TreeIterator.cs
- TimeoutException.cs
- XamlTreeBuilderBamlRecordWriter.cs
- XmlWriterTraceListener.cs
- WebRequestModulesSection.cs
- DeclarationUpdate.cs
- ISFClipboardData.cs
- LicenseException.cs
- PanelStyle.cs
- Registry.cs
- EnumBuilder.cs
- ObjectTag.cs
- InputBuffer.cs
- UriScheme.cs
- GuidConverter.cs
- BuilderPropertyEntry.cs
- XmlHelper.cs
- CompilerResults.cs
- DataSourceCache.cs
- InstanceStore.cs
- SqlDuplicator.cs
- ContentPlaceHolder.cs
- UntrustedRecipientException.cs
- FixedSOMTableCell.cs
- SByte.cs
- PublisherIdentityPermission.cs
- EndpointAddressMessageFilterTable.cs
- TextBreakpoint.cs
- ScriptResourceDefinition.cs
- SetterBase.cs
- XmlSchemaSimpleTypeUnion.cs
- EUCJPEncoding.cs
- SystemNetworkInterface.cs
- TextOutput.cs
- Globals.cs
- PasswordDeriveBytes.cs
- KeyNotFoundException.cs
- InnerItemCollectionView.cs
- SequenceNumber.cs
- SQlBooleanStorage.cs
- EntityDataSourceView.cs
- QueryOutputWriter.cs
- MetafileHeader.cs
- CustomWebEventKey.cs
- HwndHostAutomationPeer.cs
- ClientRolePrincipal.cs
- TextBounds.cs
- LinkConverter.cs
- QualificationDataItem.cs
- DelayedRegex.cs
- ObjectStateEntryDbDataRecord.cs
- DuplexSecurityProtocolFactory.cs
- PackWebResponse.cs
- ElementProxy.cs
- ZeroOpNode.cs
- MonitoringDescriptionAttribute.cs
- FontEmbeddingManager.cs
- SecurityTokenValidationException.cs
- InvalidFilterCriteriaException.cs
- HtmlTernaryTree.cs
- ClientEventManager.cs
- CodeRegionDirective.cs
- BaseParser.cs
- SplineKeyFrames.cs
- StructuredTypeEmitter.cs
- DesignTimeParseData.cs
- RealizationDrawingContextWalker.cs
- StreamGeometry.cs
- DataRelation.cs
- MarkupWriter.cs
- DesignerLoader.cs
- DoubleMinMaxAggregationOperator.cs
- BitmapEffectOutputConnector.cs
- DrawingGroupDrawingContext.cs
- FileInfo.cs
- Rfc4050KeyFormatter.cs
- DeviceContext.cs
- COM2PictureConverter.cs
- CopyCodeAction.cs
- MenuCommands.cs
- Substitution.cs
- MimeFormatExtensions.cs
- DataGrid.cs