Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1305376 / CodeAttributeArgument.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The argument for the attribute. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlClientPermission.cs
- SqlDataReaderSmi.cs
- CollectionAdapters.cs
- SelectionUIHandler.cs
- PanelStyle.cs
- Attributes.cs
- DrawingImage.cs
- LinearGradientBrush.cs
- AutomationIdentifier.cs
- MemberRelationshipService.cs
- QueryExpr.cs
- TabControlEvent.cs
- DesignerOptionService.cs
- LayoutEditorPart.cs
- CustomAttributeBuilder.cs
- ClientEventManager.cs
- AsyncSerializedWorker.cs
- Menu.cs
- LayoutInformation.cs
- GeneralTransformGroup.cs
- OdbcStatementHandle.cs
- ParameterBuilder.cs
- LeftCellWrapper.cs
- Funcletizer.cs
- XPathNodeList.cs
- BinaryVersion.cs
- TagMapInfo.cs
- DataTemplateKey.cs
- IdentityManager.cs
- ResXBuildProvider.cs
- XNodeValidator.cs
- XmlBoundElement.cs
- ServicesExceptionNotHandledEventArgs.cs
- UInt16.cs
- SqlTriggerContext.cs
- EntityStoreSchemaFilterEntry.cs
- DBSchemaRow.cs
- Int32Animation.cs
- IOException.cs
- Image.cs
- SqlCharStream.cs
- SqlLiftWhereClauses.cs
- SQLGuidStorage.cs
- IndexedGlyphRun.cs
- ManagementExtension.cs
- SubqueryTrackingVisitor.cs
- NoPersistHandle.cs
- ClientBuildManager.cs
- _SSPIWrapper.cs
- StateMachineAction.cs
- Compiler.cs
- ProfileService.cs
- _ListenerRequestStream.cs
- SamlSerializer.cs
- Variant.cs
- XamlToRtfParser.cs
- PositiveTimeSpanValidator.cs
- HtmlShim.cs
- ComEventsInfo.cs
- ManagedCodeMarkers.cs
- OutputCacheProfile.cs
- DocobjHost.cs
- RadialGradientBrush.cs
- CodeParameterDeclarationExpressionCollection.cs
- TCEAdapterGenerator.cs
- CommandDesigner.cs
- InheritablePropertyChangeInfo.cs
- CommandPlan.cs
- VirtualizedContainerService.cs
- ObjectDataSourceSelectingEventArgs.cs
- RegexBoyerMoore.cs
- PrintPageEvent.cs
- WizardSideBarListControlItem.cs
- Lasso.cs
- RecordsAffectedEventArgs.cs
- TextPointerBase.cs
- WindowsAuthenticationEventArgs.cs
- NavigationProperty.cs
- FunctionNode.cs
- SessionPageStatePersister.cs
- ToolStripOverflow.cs
- DesignBindingPropertyDescriptor.cs
- HttpDictionary.cs
- Item.cs
- LinkAreaEditor.cs
- ResourceDescriptionAttribute.cs
- MatrixAnimationUsingPath.cs
- Run.cs
- InfocardExtendedInformationCollection.cs
- ChannelCacheSettings.cs
- ConfigUtil.cs
- RelatedPropertyManager.cs
- AuthenticatedStream.cs
- InternalCache.cs
- CompiledRegexRunnerFactory.cs
- _NestedMultipleAsyncResult.cs
- XmlSchemaCompilationSettings.cs
- TypeConverter.cs
- PaintEvent.cs
- DataGridViewCheckBoxCell.cs