Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetTypeMember.cs / 1 / CodeSnippetTypeMember.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
///
///
/// Represents a
/// snippet member of a class.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetTypeMember : CodeTypeMember {
private string text;
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetTypeMember() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetTypeMember(string text) {
Text = text;
}
///
///
/// Gets or sets the code for the class member.
///
///
public string Text {
get {
return (text == null) ? string.Empty : text;
}
set {
text = 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.Reflection;
using System.Runtime.InteropServices;
///
///
/// Represents a
/// snippet member of a class.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetTypeMember : CodeTypeMember {
private string text;
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetTypeMember() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetTypeMember(string text) {
Text = text;
}
///
///
/// Gets or sets the code for the class member.
///
///
public string Text {
get {
return (text == null) ? string.Empty : text;
}
set {
text = 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
- CursorInteropHelper.cs
- SafeTokenHandle.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- SourceItem.cs
- HighContrastHelper.cs
- DropShadowBitmapEffect.cs
- DocumentApplication.cs
- ImpersonateTokenRef.cs
- LeaseManager.cs
- ShortcutKeysEditor.cs
- Table.cs
- CachedPathData.cs
- DbFunctionCommandTree.cs
- PageBuildProvider.cs
- XmlQueryTypeFactory.cs
- Pair.cs
- InternalPermissions.cs
- DrawingVisual.cs
- AbandonedMutexException.cs
- StreamReader.cs
- EncoderReplacementFallback.cs
- TypeGenericEnumerableViewSchema.cs
- ServerIdentity.cs
- Object.cs
- OrderablePartitioner.cs
- ModelPerspective.cs
- SystemGatewayIPAddressInformation.cs
- XmlAnyElementAttribute.cs
- CapabilitiesSection.cs
- DateTimeOffsetAdapter.cs
- PartManifestEntry.cs
- CheckBoxRenderer.cs
- AddDataControlFieldDialog.cs
- SqlXml.cs
- PixelFormatConverter.cs
- SafeRegistryHandle.cs
- WorkflowServiceNamespace.cs
- BinaryObjectInfo.cs
- OdbcTransaction.cs
- DrawingBrush.cs
- QueryStringParameter.cs
- ImageMapEventArgs.cs
- MediaCommands.cs
- FactoryGenerator.cs
- ListViewDataItem.cs
- PropertyIDSet.cs
- DataGridLength.cs
- ManipulationLogic.cs
- ToolBarTray.cs
- StringBuilder.cs
- UDPClient.cs
- MergablePropertyAttribute.cs
- AllowedAudienceUriElementCollection.cs
- SerialErrors.cs
- PenLineJoinValidation.cs
- ConsoleCancelEventArgs.cs
- WebControlsSection.cs
- StatusBarDrawItemEvent.cs
- TextTreeTextBlock.cs
- EditingCommands.cs
- BasePattern.cs
- EpmContentSerializerBase.cs
- SchemaReference.cs
- Profiler.cs
- FontWeightConverter.cs
- LineInfo.cs
- XmlRawWriter.cs
- HideDisabledControlAdapter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- PropertyToken.cs
- ElementUtil.cs
- Environment.cs
- ModelService.cs
- odbcmetadatacollectionnames.cs
- TextBoxAutomationPeer.cs
- dataSvcMapFileLoader.cs
- KnownColorTable.cs
- SByte.cs
- ButtonStandardAdapter.cs
- Condition.cs
- DBDataPermissionAttribute.cs
- contentDescriptor.cs
- ListViewEditEventArgs.cs
- WebEncodingValidator.cs
- PriorityRange.cs
- ExecutionContext.cs
- Win32Exception.cs
- _ShellExpression.cs
- CodeSnippetStatement.cs
- HierarchicalDataBoundControlAdapter.cs
- lengthconverter.cs
- TypeDescriptorContext.cs
- RemoteEndpointMessageProperty.cs
- OdbcDataAdapter.cs
- MultipleViewProviderWrapper.cs
- KnownBoxes.cs
- ScriptingRoleServiceSection.cs
- _HeaderInfo.cs
- EntityClassGenerator.cs
- VirtualizedContainerService.cs