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
- ItemsChangedEventArgs.cs
- SurrogateEncoder.cs
- COM2ColorConverter.cs
- TitleStyle.cs
- LingerOption.cs
- TextServicesDisplayAttribute.cs
- Ref.cs
- FontWeight.cs
- SimpleFileLog.cs
- QuotedPrintableStream.cs
- DataGridPagerStyle.cs
- X509Certificate2.cs
- ContentFilePart.cs
- LinkedList.cs
- SecurityTokenAuthenticator.cs
- XmlSiteMapProvider.cs
- _SSPISessionCache.cs
- ResourcePart.cs
- DataServiceExpressionVisitor.cs
- VariantWrapper.cs
- FormatterConverter.cs
- WpfGeneratedKnownProperties.cs
- WebHttpSecurityElement.cs
- XmlDataSource.cs
- Context.cs
- MSAAWinEventWrap.cs
- GridErrorDlg.cs
- WebBrowserPermission.cs
- SafeSecurityHelper.cs
- InternalTransaction.cs
- Block.cs
- Matrix3DStack.cs
- DbSetClause.cs
- PolyLineSegment.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ToolStripContainer.cs
- ColumnHeaderConverter.cs
- DownloadProgressEventArgs.cs
- OverrideMode.cs
- _NativeSSPI.cs
- TagMapCollection.cs
- PieceNameHelper.cs
- DataRecord.cs
- FileLogRecordHeader.cs
- PropertyTabChangedEvent.cs
- OracleNumber.cs
- ButtonBase.cs
- CaseInsensitiveOrdinalStringComparer.cs
- FixedMaxHeap.cs
- COM2FontConverter.cs
- ProfileServiceManager.cs
- TextParagraphCache.cs
- XmlHierarchicalEnumerable.cs
- ColorIndependentAnimationStorage.cs
- ArrangedElementCollection.cs
- safemediahandle.cs
- Config.cs
- DataTemplateKey.cs
- securestring.cs
- CompiledRegexRunner.cs
- CheckBoxBaseAdapter.cs
- EntityDataSourceMemberPath.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SqlDeflator.cs
- HandleTable.cs
- InplaceBitmapMetadataWriter.cs
- DbParameterHelper.cs
- PrivateFontCollection.cs
- ConfigurationValues.cs
- Facet.cs
- WebMessageEncodingBindingElement.cs
- ContractComponent.cs
- Matrix.cs
- ScrollChangedEventArgs.cs
- PerformanceCounterCategory.cs
- DataGridViewImageCell.cs
- FontSizeConverter.cs
- SqlCommandSet.cs
- CookielessHelper.cs
- Evaluator.cs
- SelectedDatesCollection.cs
- SimpleRecyclingCache.cs
- XmlChoiceIdentifierAttribute.cs
- RedistVersionInfo.cs
- XmlAutoDetectWriter.cs
- CompilationLock.cs
- SQLResource.cs
- ListSortDescription.cs
- Pts.cs
- EnumUnknown.cs
- EmptyEnumerable.cs
- UnsafeNativeMethods.cs
- CodeGenHelper.cs
- MimePart.cs
- DataGridRelationshipRow.cs
- RawStylusInput.cs
- SelectionHighlightInfo.cs
- WindowsFormsHelpers.cs
- WebBrowser.cs
- SafeArrayRankMismatchException.cs