Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / EnumMemberAttribute.cs / 1305376 / EnumMemberAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)] public sealed class EnumMemberAttribute : Attribute { string value; bool isValueSetExplicit; public EnumMemberAttribute() { } public string Value { get { return this.value; } set { this.value = value; this.isValueSetExplicit = true;} } internal bool IsValueSetExplicit { get { return this.isValueSetExplicit; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)] public sealed class EnumMemberAttribute : Attribute { string value; bool isValueSetExplicit; public EnumMemberAttribute() { } public string Value { get { return this.value; } set { this.value = value; this.isValueSetExplicit = true;} } internal bool IsValueSetExplicit { get { return this.isValueSetExplicit; } } } } // 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
- CoTaskMemHandle.cs
- HwndAppCommandInputProvider.cs
- RegexRunner.cs
- SessionParameter.cs
- WebPartsSection.cs
- KnownBoxes.cs
- SingleSelectRootGridEntry.cs
- FrameDimension.cs
- UIElementAutomationPeer.cs
- ProvidersHelper.cs
- GifBitmapDecoder.cs
- DataPagerFieldItem.cs
- PeerApplication.cs
- ErrorView.xaml.cs
- CompareValidator.cs
- HijriCalendar.cs
- DictionaryEntry.cs
- safelinkcollection.cs
- RequestResizeEvent.cs
- HostingMessageProperty.cs
- FrameworkName.cs
- Animatable.cs
- ExceptionHandlersDesigner.cs
- NavigationProperty.cs
- ToolStripButton.cs
- EventRouteFactory.cs
- ElementUtil.cs
- Model3DGroup.cs
- LinqMaximalSubtreeNominator.cs
- ParserOptions.cs
- OdbcPermission.cs
- DataGridViewSortCompareEventArgs.cs
- Validator.cs
- Rss20FeedFormatter.cs
- BitmapEffectGeneralTransform.cs
- ResumeStoryboard.cs
- XPathDocument.cs
- shaperfactoryquerycacheentry.cs
- HtmlContainerControl.cs
- Exceptions.cs
- XmlEncodedRawTextWriter.cs
- TemplateContentLoader.cs
- SocketPermission.cs
- DataGridPagerStyle.cs
- SchemaLookupTable.cs
- StringInfo.cs
- XmlSchemaAttributeGroup.cs
- BadImageFormatException.cs
- PriorityBinding.cs
- ProfileParameter.cs
- Context.cs
- LocatorManager.cs
- TextViewSelectionProcessor.cs
- ChtmlPageAdapter.cs
- Rule.cs
- RadioButton.cs
- AppModelKnownContentFactory.cs
- PTUtility.cs
- DotAtomReader.cs
- WebPartDisplayModeCollection.cs
- ContentPresenter.cs
- UserMapPath.cs
- Types.cs
- CallSite.cs
- XslAstAnalyzer.cs
- TrackingProfileCache.cs
- QilGenerator.cs
- XmlReturnReader.cs
- WindowsProgressbar.cs
- DataException.cs
- RouteTable.cs
- _SslStream.cs
- WebReferencesBuildProvider.cs
- CalendarButton.cs
- BooleanExpr.cs
- EntityDataSourceContainerNameConverter.cs
- DetailsViewRow.cs
- WorkflowMessageEventHandler.cs
- DesignerView.xaml.cs
- ClaimComparer.cs
- ManipulationStartingEventArgs.cs
- XmlQueryTypeFactory.cs
- Internal.cs
- Formatter.cs
- KeyValueConfigurationElement.cs
- ExtendedPropertyCollection.cs
- QueryInterceptorAttribute.cs
- CodeGeneratorOptions.cs
- ManagedIStream.cs
- CharacterBufferReference.cs
- CompModSwitches.cs
- _SingleItemRequestCache.cs
- SchemaImporter.cs
- XslException.cs
- AdapterDictionary.cs
- ScrollData.cs
- ThreadExceptionDialog.cs
- HuffCodec.cs
- DataException.cs
- WebPartConnection.cs