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
- PathFigureCollection.cs
- AspProxy.cs
- ValueChangedEventManager.cs
- RegexParser.cs
- Vector3DConverter.cs
- DefaultProxySection.cs
- ConstructorNeedsTagAttribute.cs
- HtmlSelect.cs
- ContentType.cs
- FormViewUpdatedEventArgs.cs
- OdbcConnectionStringbuilder.cs
- MessageBox.cs
- TemplatePagerField.cs
- ClientSettingsSection.cs
- WmlListAdapter.cs
- DiagnosticEventProvider.cs
- SocketInformation.cs
- TagPrefixCollection.cs
- PointConverter.cs
- BackgroundFormatInfo.cs
- ContextMenuAutomationPeer.cs
- DateTimeFormatInfoScanner.cs
- RequestCachePolicy.cs
- TextRunTypographyProperties.cs
- HighlightComponent.cs
- TabItemAutomationPeer.cs
- COMException.cs
- ExceptionHelpers.cs
- SymbolEqualComparer.cs
- HtmlTitle.cs
- Polyline.cs
- UnsettableComboBox.cs
- UnmanagedMemoryStream.cs
- XmlName.cs
- ObjectItemAssemblyLoader.cs
- ScriptingRoleServiceSection.cs
- AppDomainAttributes.cs
- ZoneIdentityPermission.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- TransformedBitmap.cs
- ColorConvertedBitmap.cs
- FastEncoder.cs
- SQLGuid.cs
- DtdParser.cs
- StaticResourceExtension.cs
- RTTrackingProfile.cs
- SystemNetworkInterface.cs
- InkCollectionBehavior.cs
- NameTable.cs
- PresentationSource.cs
- CodeLinePragma.cs
- DeclarativeCatalogPart.cs
- TaskbarItemInfo.cs
- DataGridViewToolTip.cs
- DatasetMethodGenerator.cs
- Graph.cs
- TabControl.cs
- IndexOutOfRangeException.cs
- CfgParser.cs
- MetadataCache.cs
- CompositeActivityTypeDescriptor.cs
- DynamicILGenerator.cs
- UniformGrid.cs
- PropertyTab.cs
- Rijndael.cs
- DispatchChannelSink.cs
- HighContrastHelper.cs
- ClipboardProcessor.cs
- QueryIntervalOp.cs
- ProtocolsConfigurationEntry.cs
- TabRenderer.cs
- PageThemeBuildProvider.cs
- Converter.cs
- OpenFileDialog.cs
- TokenFactoryCredential.cs
- assertwrapper.cs
- MaterializeFromAtom.cs
- WebPartHeaderCloseVerb.cs
- ActivityExecutorDelegateInfo.cs
- TrustManagerMoreInformation.cs
- StringStorage.cs
- ApplicationBuildProvider.cs
- EventManager.cs
- XmlAnyElementAttributes.cs
- _ListenerRequestStream.cs
- XmlObjectSerializer.cs
- AstTree.cs
- Profiler.cs
- IndexerNameAttribute.cs
- InheritanceContextHelper.cs
- PopOutPanel.cs
- PixelFormatConverter.cs
- HttpCacheVary.cs
- LocatorPartList.cs
- BuildResultCache.cs
- ApplicationSecurityInfo.cs
- selecteditemcollection.cs
- ContentElement.cs
- Bold.cs
- ChtmlTextWriter.cs