Code:
/ DotNET / DotNET / 8.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
- XDeferredAxisSource.cs
- PropertyGridCommands.cs
- PromptBuilder.cs
- QueryStringConverter.cs
- SoapAttributeOverrides.cs
- XmlSerializationWriter.cs
- BitmapData.cs
- DelegateTypeInfo.cs
- ColumnReorderedEventArgs.cs
- SettingsProperty.cs
- DataTrigger.cs
- _Connection.cs
- OleDbWrapper.cs
- XmlDocumentSurrogate.cs
- securitycriticaldata.cs
- TiffBitmapEncoder.cs
- TcpStreams.cs
- CmsUtils.cs
- TypeElement.cs
- ItemsControlAutomationPeer.cs
- EntityReference.cs
- SqlTypesSchemaImporter.cs
- EnumerableRowCollection.cs
- DbDataSourceEnumerator.cs
- Speller.cs
- ProtectedUri.cs
- Button.cs
- CodeLinePragma.cs
- DataControlCommands.cs
- Image.cs
- XmlTypeMapping.cs
- DataStreamFromComStream.cs
- ContractReference.cs
- ParseNumbers.cs
- MetadataArtifactLoaderFile.cs
- SqlCacheDependency.cs
- ProxySimple.cs
- DataGridViewCellCollection.cs
- PersistenceException.cs
- HttpHandlersInstallComponent.cs
- DmlSqlGenerator.cs
- SoapTypeAttribute.cs
- AppDomainAttributes.cs
- Exception.cs
- Stylus.cs
- ConfigurationFileMap.cs
- ConnectorSelectionGlyph.cs
- DefaultExpressionVisitor.cs
- XmlIlGenerator.cs
- RoleService.cs
- Documentation.cs
- CodeMemberField.cs
- WebPartExportVerb.cs
- RawKeyboardInputReport.cs
- IteratorFilter.cs
- SQLByteStorage.cs
- SpStreamWrapper.cs
- ObjectNotFoundException.cs
- HttpBrowserCapabilitiesBase.cs
- StatusBarItem.cs
- ThreadInterruptedException.cs
- TextFormatterHost.cs
- HexParser.cs
- SqlDataSourceRefreshSchemaForm.cs
- ScrollItemPatternIdentifiers.cs
- OdbcHandle.cs
- PropertyTabChangedEvent.cs
- LocalServiceSecuritySettingsElement.cs
- DataTablePropertyDescriptor.cs
- DesignerEventService.cs
- externdll.cs
- ConstraintManager.cs
- HttpConfigurationContext.cs
- ConstraintConverter.cs
- HashAlgorithm.cs
- TextTreeText.cs
- DesignerActionUIStateChangeEventArgs.cs
- GeneralTransform3DCollection.cs
- StringReader.cs
- DocumentDesigner.cs
- ToolStripDropDownMenu.cs
- SBCSCodePageEncoding.cs
- AssemblyAssociatedContentFileAttribute.cs
- ISAPIRuntime.cs
- DecoderNLS.cs
- UserInitiatedNavigationPermission.cs
- StandardOleMarshalObject.cs
- SmtpSection.cs
- ArcSegment.cs
- SqlHelper.cs
- CustomErrorsSectionWrapper.cs
- BindingWorker.cs
- ConfigurationSectionHelper.cs
- TrustLevel.cs
- EntityReference.cs
- CqlBlock.cs
- BinaryCommonClasses.cs
- TagMapCollection.cs
- OpenTypeMethods.cs
- UIPermission.cs