Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PriorityRange.cs
- AddingNewEventArgs.cs
- BypassElement.cs
- SchemaCollectionPreprocessor.cs
- CodePrimitiveExpression.cs
- AdapterDictionary.cs
- ObjectComplexPropertyMapping.cs
- WebDescriptionAttribute.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- IMembershipProvider.cs
- CellPartitioner.cs
- SafeMarshalContext.cs
- EndOfStreamException.cs
- DataGridCommandEventArgs.cs
- StackOverflowException.cs
- FunctionParameter.cs
- PixelFormatConverter.cs
- TrimSurroundingWhitespaceAttribute.cs
- SqlUtils.cs
- TransportSecurityProtocol.cs
- SettingsBase.cs
- FlatButtonAppearance.cs
- ToolStripItemRenderEventArgs.cs
- DoubleLinkListEnumerator.cs
- MimeTypePropertyAttribute.cs
- KeyEvent.cs
- DataRelation.cs
- CapiSymmetricAlgorithm.cs
- DataGridViewIntLinkedList.cs
- ClientTargetCollection.cs
- HostingPreferredMapPath.cs
- CodeGenerator.cs
- HandlerBase.cs
- SplashScreenNativeMethods.cs
- XmlConverter.cs
- DrawingContext.cs
- ObjectContextServiceProvider.cs
- dataprotectionpermission.cs
- DataGridViewHitTestInfo.cs
- QilGenerator.cs
- SharedPerformanceCounter.cs
- ReadOnlyCollection.cs
- DisposableCollectionWrapper.cs
- EmptyEnumerator.cs
- ApplyImportsAction.cs
- SEHException.cs
- ParameterCollection.cs
- MenuStrip.cs
- SQLStringStorage.cs
- SizeAnimation.cs
- ForeignKeyFactory.cs
- IsolatedStorageFileStream.cs
- StateMachineAction.cs
- Array.cs
- ProtectedConfiguration.cs
- SplayTreeNode.cs
- SizeConverter.cs
- LocalizableAttribute.cs
- SocketException.cs
- TextEditorCharacters.cs
- SmtpDigestAuthenticationModule.cs
- TableColumn.cs
- WebServiceReceiveDesigner.cs
- PasswordRecoveryAutoFormat.cs
- DataGridViewComboBoxColumnDesigner.cs
- DbTransaction.cs
- SqlMethods.cs
- GeometryDrawing.cs
- BuildProviderAppliesToAttribute.cs
- HelloMessageCD1.cs
- DataGridViewRowHeaderCell.cs
- ConnectionPoint.cs
- TreeBuilder.cs
- SubMenuStyle.cs
- DbResourceAllocator.cs
- HttpProfileGroupBase.cs
- M3DUtil.cs
- ImageDesigner.cs
- BitmapDecoder.cs
- Scene3D.cs
- ValueQuery.cs
- PropertyManager.cs
- ITextView.cs
- NetworkCredential.cs
- ParseChildrenAsPropertiesAttribute.cs
- XmlSchemaAttributeGroup.cs
- DesignerDataView.cs
- ProfileSettings.cs
- StrongNamePublicKeyBlob.cs
- BindableTemplateBuilder.cs
- SecurityIdentifierElement.cs
- HtmlTableRowCollection.cs
- EventHandlerList.cs
- NetworkAddressChange.cs
- BezierSegment.cs
- SecurityRuntime.cs
- ApplicationBuildProvider.cs
- SqlParameter.cs
- FontDriver.cs
- UIElement3DAutomationPeer.cs