Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlChoiceIdentifierAttribute.cs / 1305376 / XmlChoiceIdentifierAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; #if SILVERLIGHT // For XmlSerializer using System.Reflection; #endif ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=false)] public class XmlChoiceIdentifierAttribute : System.Attribute { string name; #if SILVERLIGHT // For XmlSerializer MemberInfo memberInfo; #endif ///[To be supplied.] ////// /// public XmlChoiceIdentifierAttribute() { } ///[To be supplied.] ////// /// public XmlChoiceIdentifierAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public string MemberName { get { return name == null ? string.Empty : name; } set { name = value; } } #if SILVERLIGHT // For XmlSerializer internal MemberInfo MemberInfo { get { return memberInfo; } set { memberInfo = value; } } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GuidelineCollection.cs
- QueryCreatedEventArgs.cs
- CultureMapper.cs
- GZipDecoder.cs
- TextParaLineResult.cs
- RoutedEventValueSerializer.cs
- SqlAliaser.cs
- sqlcontext.cs
- Bits.cs
- XmlSchemaSimpleContent.cs
- BuilderElements.cs
- ObjectParameterCollection.cs
- MulticastOption.cs
- RouteParser.cs
- NavigationPropertyEmitter.cs
- RuleRefElement.cs
- Knowncolors.cs
- ReadOnlyPropertyMetadata.cs
- MessageQueueKey.cs
- DeclaredTypeElementCollection.cs
- CatalogPartCollection.cs
- LinqDataSourceDeleteEventArgs.cs
- DataColumnMappingCollection.cs
- DataSourceConverter.cs
- _IPv4Address.cs
- MultiBindingExpression.cs
- XmlWhitespace.cs
- InvalidCommandTreeException.cs
- FactoryGenerator.cs
- SecurityVersion.cs
- CodeMemberField.cs
- PropertyEmitter.cs
- ZipIOLocalFileBlock.cs
- ObjectQuery.cs
- HttpDebugHandler.cs
- DesignerPerfEventProvider.cs
- WebReferencesBuildProvider.cs
- CodeCastExpression.cs
- CustomAssemblyResolver.cs
- Int32RectConverter.cs
- SimpleHandlerBuildProvider.cs
- Funcletizer.cs
- NativeMethods.cs
- XmlObjectSerializerReadContextComplexJson.cs
- OperandQuery.cs
- ShutDownListener.cs
- AmbiguousMatchException.cs
- XmlDocumentFragment.cs
- AppearanceEditorPart.cs
- AtomPub10CategoriesDocumentFormatter.cs
- InstanceDataCollectionCollection.cs
- ConfigXmlWhitespace.cs
- ColorAnimationBase.cs
- HttpModuleActionCollection.cs
- SocketException.cs
- ControlOperationInvoker.cs
- IntPtr.cs
- SymDocumentType.cs
- ListBoxAutomationPeer.cs
- XsltSettings.cs
- ResolveNameEventArgs.cs
- Padding.cs
- SafeNativeMethods.cs
- ResponseBodyWriter.cs
- AnnotationComponentChooser.cs
- ImageFormatConverter.cs
- HttpBrowserCapabilitiesWrapper.cs
- QueryStringParameter.cs
- ImageBrush.cs
- BinaryObjectInfo.cs
- ISAPIWorkerRequest.cs
- UnsafeNativeMethods.cs
- DbBuffer.cs
- IndexedString.cs
- HttpProfileGroupBase.cs
- WebConfigManager.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SmiGettersStream.cs
- Ops.cs
- Bidi.cs
- ClosableStream.cs
- ButtonStandardAdapter.cs
- MemberCollection.cs
- WebPart.cs
- QueueSurrogate.cs
- FormsAuthenticationCredentials.cs
- ProfileGroupSettings.cs
- FileUpload.cs
- ActivityXRefConverter.cs
- ListBindableAttribute.cs
- TimelineGroup.cs
- Propagator.Evaluator.cs
- NavigationPropertyEmitter.cs
- RequestDescription.cs
- Brushes.cs
- AccessText.cs
- LineServices.cs
- Normalizer.cs
- AssociationEndMember.cs
- ScrollViewerAutomationPeer.cs