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
- MimeFormatExtensions.cs
- ElapsedEventArgs.cs
- DirtyTextRange.cs
- InputScopeAttribute.cs
- LabelLiteral.cs
- TypeSystemHelpers.cs
- SmuggledIUnknown.cs
- BrowserCapabilitiesFactoryBase.cs
- SymmetricAlgorithm.cs
- StopStoryboard.cs
- IODescriptionAttribute.cs
- TextEndOfSegment.cs
- DSACryptoServiceProvider.cs
- assemblycache.cs
- DocumentViewerBase.cs
- NativeMethods.cs
- PeerPresenceInfo.cs
- categoryentry.cs
- ScriptIgnoreAttribute.cs
- X509ChainElement.cs
- FileCodeGroup.cs
- Cursors.cs
- TextPointerBase.cs
- ParseNumbers.cs
- DateTimeHelper.cs
- WeakEventTable.cs
- Clock.cs
- _DomainName.cs
- ConfigurationValue.cs
- IntegerValidator.cs
- EncoderParameters.cs
- RegexCode.cs
- AccessKeyManager.cs
- ServiceOperation.cs
- RC2.cs
- InitializationEventAttribute.cs
- XmlValidatingReader.cs
- Thread.cs
- UnmanagedMemoryAccessor.cs
- DBSqlParserTableCollection.cs
- XmlEncoding.cs
- ObjectDataSourceView.cs
- UIAgentCrashedException.cs
- StringExpressionSet.cs
- TreeIterator.cs
- KeyEventArgs.cs
- Keywords.cs
- EntityKey.cs
- PrintDialog.cs
- ProcessModuleCollection.cs
- TextChange.cs
- RequestTimeoutManager.cs
- ProcessHostConfigUtils.cs
- recordstatescratchpad.cs
- DesignerSerializationOptionsAttribute.cs
- XslAstAnalyzer.cs
- MailWebEventProvider.cs
- RegexFCD.cs
- CryptoHandle.cs
- BlurBitmapEffect.cs
- SoapCommonClasses.cs
- TemplateBuilder.cs
- PrintingPermissionAttribute.cs
- URI.cs
- DataGridViewCellValidatingEventArgs.cs
- NativeMethods.cs
- EntityWrapperFactory.cs
- TemplateNameScope.cs
- SymbolType.cs
- EntryWrittenEventArgs.cs
- MemberCollection.cs
- PropertyInfoSet.cs
- XmlSchemaComplexContent.cs
- PropertyCondition.cs
- DataGridViewLayoutData.cs
- SchemaDeclBase.cs
- _SingleItemRequestCache.cs
- Matrix.cs
- ContactManager.cs
- RsaElement.cs
- LinqTreeNodeEvaluator.cs
- CurrencyWrapper.cs
- LiteralControl.cs
- ObjectListShowCommandsEventArgs.cs
- BitmapEffectGeneralTransform.cs
- SQLMoneyStorage.cs
- HttpValueCollection.cs
- Literal.cs
- _HeaderInfo.cs
- ConfigurationLockCollection.cs
- BoundPropertyEntry.cs
- SvcMapFileLoader.cs
- BinaryFormatterWriter.cs
- SecurityElement.cs
- CompareInfo.cs
- CssClassPropertyAttribute.cs
- XamlTreeBuilder.cs
- AttachmentService.cs
- WorkflowEventArgs.cs
- SmtpFailedRecipientException.cs