Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1 / CodeAttributeArgument.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 CodeAttributeArgument { private string name; private CodeExpression value; ////// Represents an argument for use in a custom attribute declaration. /// ////// public CodeAttributeArgument() { } ////// Initializes a new instance of ///. /// /// public CodeAttributeArgument(CodeExpression value) { Value = value; } ////// Initializes a new instance of ///using the specified value. /// /// public CodeAttributeArgument(string name, CodeExpression value) { Name = name; Value = value; } ////// Initializes a new instance of ///using the specified name and /// value. /// /// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// The name of the attribute. /// ////// public CodeExpression Value { get { return value; } set { this.value = value; } } } }/// The argument for the attribute. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorTableItemStyle.cs
- IProducerConsumerCollection.cs
- FixedSOMTableRow.cs
- HostedElements.cs
- FormViewInsertedEventArgs.cs
- ProtocolElement.cs
- SafeWaitHandle.cs
- loginstatus.cs
- NextPreviousPagerField.cs
- behaviorssection.cs
- ICspAsymmetricAlgorithm.cs
- Root.cs
- XPathDescendantIterator.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- MatchNoneMessageFilter.cs
- EncodingNLS.cs
- DataReaderContainer.cs
- Sql8ConformanceChecker.cs
- LocationReferenceEnvironment.cs
- TextCollapsingProperties.cs
- NativeMethods.cs
- ComplexPropertyEntry.cs
- SqlUtil.cs
- InProcStateClientManager.cs
- HyperLinkField.cs
- RootNamespaceAttribute.cs
- WorkflowElementDialog.cs
- DocumentViewerConstants.cs
- ItemsControl.cs
- OleDbParameterCollection.cs
- GenericNameHandler.cs
- RandomNumberGenerator.cs
- HttpClientCertificate.cs
- ProfileProvider.cs
- CustomTypeDescriptor.cs
- MdiWindowListStrip.cs
- ClassGenerator.cs
- SerializerDescriptor.cs
- DataRowComparer.cs
- CacheMode.cs
- CollectionViewGroupInternal.cs
- RelatedCurrencyManager.cs
- RtfControlWordInfo.cs
- ScriptMethodAttribute.cs
- BmpBitmapEncoder.cs
- FillBehavior.cs
- ControlParser.cs
- DriveInfo.cs
- SqlRemoveConstantOrderBy.cs
- DataSourceUtil.cs
- tabpagecollectioneditor.cs
- HostedNamedPipeTransportManager.cs
- Panel.cs
- Vector3DAnimationBase.cs
- AttachedPropertyDescriptor.cs
- PrintDialog.cs
- ControlUtil.cs
- InternalControlCollection.cs
- TargetInvocationException.cs
- DataTemplate.cs
- EventLogPropertySelector.cs
- dbdatarecord.cs
- HyperlinkAutomationPeer.cs
- DetailsViewPageEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- ApplicationContext.cs
- OdbcPermission.cs
- DesignerTransaction.cs
- ChangeInterceptorAttribute.cs
- PingOptions.cs
- DeferredSelectedIndexReference.cs
- BitmapDownload.cs
- HtmlInputButton.cs
- WaitHandleCannotBeOpenedException.cs
- BlobPersonalizationState.cs
- RubberbandSelector.cs
- Animatable.cs
- Tuple.cs
- coordinatorfactory.cs
- XmlNotation.cs
- SequentialUshortCollection.cs
- PaginationProgressEventArgs.cs
- ProtocolException.cs
- HotCommands.cs
- PixelShader.cs
- ComponentRenameEvent.cs
- SimpleBitVector32.cs
- GACMembershipCondition.cs
- _TimerThread.cs
- ModelTreeEnumerator.cs
- ToolStripDropDownItemDesigner.cs
- DashStyle.cs
- ProtectedProviderSettings.cs
- BitmapDownload.cs
- ObjectComplexPropertyMapping.cs
- DisableDpiAwarenessAttribute.cs
- SymbolType.cs
- XmlSchemaIdentityConstraint.cs
- SqlExpander.cs
- CharUnicodeInfo.cs