Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1 / CodeSnippetCompileUnit.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 CodeSnippetCompileUnit : CodeCompileUnit { private string value; private CodeLinePragma linePragma; public CodeSnippetCompileUnit() { } public CodeSnippetCompileUnit(string value) { Value = value; } ////// Represents a snippet block of code. /// ////// public string Value { get { return (value == null) ? string.Empty : value; } set { this.value = value; } } ////// Gets or sets /// the snippet /// text of the code block to represent. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } } }/// The line the code block starts on. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeNodeStyle.cs
- InputMethod.cs
- GlobalProxySelection.cs
- Highlights.cs
- MatchAllMessageFilter.cs
- Knowncolors.cs
- OLEDB_Enum.cs
- HwndSourceKeyboardInputSite.cs
- HandlerMappingMemo.cs
- ControlDesigner.cs
- NotFiniteNumberException.cs
- SqlAliaser.cs
- EventDescriptor.cs
- TextServicesDisplayAttribute.cs
- XsltLibrary.cs
- MetadataFile.cs
- CancellationHandler.cs
- Literal.cs
- MethodBody.cs
- TextModifier.cs
- filewebresponse.cs
- HtmlInputFile.cs
- DefaultValidator.cs
- StdValidatorsAndConverters.cs
- ExpandCollapseProviderWrapper.cs
- OleDbDataReader.cs
- ProcessManager.cs
- SystemWebExtensionsSectionGroup.cs
- COM2ComponentEditor.cs
- EnlistmentState.cs
- TextStore.cs
- IncrementalCompileAnalyzer.cs
- OdbcError.cs
- ExpressionWriter.cs
- PropertyItemInternal.cs
- QueryContinueDragEvent.cs
- SqlBuilder.cs
- XmlSchema.cs
- PageHandlerFactory.cs
- NullReferenceException.cs
- OciLobLocator.cs
- Symbol.cs
- NavigationWindowAutomationPeer.cs
- Thickness.cs
- DesignerOptionService.cs
- ValidationPropertyAttribute.cs
- HMACMD5.cs
- DescendantOverDescendantQuery.cs
- BaseAddressElement.cs
- ToolStripContentPanelRenderEventArgs.cs
- RemoteX509Token.cs
- GeometryConverter.cs
- GridViewItemAutomationPeer.cs
- JsonReaderDelegator.cs
- CollectionType.cs
- IERequestCache.cs
- CellLabel.cs
- WindowInteropHelper.cs
- ElementsClipboardData.cs
- XmlSchemaSimpleContentExtension.cs
- FolderBrowserDialogDesigner.cs
- StateWorkerRequest.cs
- StreamBodyWriter.cs
- WindowsFormsLinkLabel.cs
- DataColumnPropertyDescriptor.cs
- SqlOuterApplyReducer.cs
- ProgressBar.cs
- HostProtectionException.cs
- XmlSchemaCollection.cs
- AdCreatedEventArgs.cs
- RelOps.cs
- XmlExtensionFunction.cs
- FigureParagraph.cs
- XmlDataSource.cs
- InstanceCreationEditor.cs
- Evidence.cs
- RectAnimation.cs
- FragmentQuery.cs
- Ipv6Element.cs
- RectAnimationClockResource.cs
- CodePageUtils.cs
- ClientFormsAuthenticationCredentials.cs
- DataGridViewColumn.cs
- BitmapEffectOutputConnector.cs
- _OSSOCK.cs
- EventListener.cs
- XmlMemberMapping.cs
- DeclaredTypeElement.cs
- InstanceValue.cs
- DataBinding.cs
- InputBinding.cs
- StaticExtension.cs
- AvTraceFormat.cs
- OracleNumber.cs
- Cloud.cs
- OrderedDictionary.cs
- OperatingSystem.cs
- InteropEnvironment.cs
- Internal.cs
- TextParagraphCache.cs