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
- SoapIgnoreAttribute.cs
- ActivationArguments.cs
- MenuStrip.cs
- CollectionViewGroupRoot.cs
- OracleEncoding.cs
- TabControl.cs
- TextBox.cs
- NetMsmqBinding.cs
- HMACMD5.cs
- Size3D.cs
- PrintPageEvent.cs
- Pen.cs
- Helpers.cs
- DataKeyCollection.cs
- SortQueryOperator.cs
- XPathNavigator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ImageFormatConverter.cs
- ToggleButton.cs
- ChannelSinkStacks.cs
- Bits.cs
- ToolStripSeparatorRenderEventArgs.cs
- EntityProviderFactory.cs
- CacheSection.cs
- CodeMethodMap.cs
- BamlRecordWriter.cs
- OrderedDictionary.cs
- MatchAttribute.cs
- WorkflowMarkupSerializationProvider.cs
- DataTable.cs
- X509KeyIdentifierClauseType.cs
- ObsoleteAttribute.cs
- EmptyCollection.cs
- PropertyItemInternal.cs
- XLinq.cs
- SettingsPropertyCollection.cs
- BindUriHelper.cs
- CodeObject.cs
- XmlSchemaSequence.cs
- ScopedKnownTypes.cs
- BinaryConverter.cs
- SvcMapFile.cs
- Ticks.cs
- mongolianshape.cs
- BuildProviderUtils.cs
- DirectoryObjectSecurity.cs
- Mutex.cs
- TextRange.cs
- SoundPlayerAction.cs
- Solver.cs
- DelegateTypeInfo.cs
- PeerResolverSettings.cs
- PropertyIDSet.cs
- ResXResourceWriter.cs
- DefaultCommandExtensionCallback.cs
- CompositeCollection.cs
- DataStreams.cs
- ToolBarOverflowPanel.cs
- XmlSerializer.cs
- WsdlInspector.cs
- ToolStripItemDataObject.cs
- ScriptReference.cs
- LingerOption.cs
- ParallelActivityDesigner.cs
- HtmlGenericControl.cs
- SplitContainer.cs
- TextEmbeddedObject.cs
- ScrollPatternIdentifiers.cs
- DataServiceExpressionVisitor.cs
- DataSourceNameHandler.cs
- MergablePropertyAttribute.cs
- Encoder.cs
- UpdatePanelTrigger.cs
- MetabaseServerConfig.cs
- ProgressBarAutomationPeer.cs
- SizeAnimationBase.cs
- DynamicArgumentDesigner.xaml.cs
- FilteredDataSetHelper.cs
- OutOfProcStateClientManager.cs
- WebPartAuthorizationEventArgs.cs
- GrammarBuilderBase.cs
- MasterPageBuildProvider.cs
- HashCodeCombiner.cs
- WinCategoryAttribute.cs
- TextAnchor.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- COM2IDispatchConverter.cs
- RuleProcessor.cs
- OrthographicCamera.cs
- DataDocumentXPathNavigator.cs
- MasterPageParser.cs
- PointLightBase.cs
- XmlAnyElementAttributes.cs
- ResolveCompletedEventArgs.cs
- DescriptionAttribute.cs
- VBCodeProvider.cs
- KeyboardEventArgs.cs
- HttpCookieCollection.cs
- XsltQilFactory.cs
- DrawListViewSubItemEventArgs.cs