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
- UnitySerializationHolder.cs
- GeneratedView.cs
- ToolZone.cs
- StoreContentChangedEventArgs.cs
- WizardForm.cs
- DataSpaceManager.cs
- _StreamFramer.cs
- DoubleKeyFrameCollection.cs
- WorkflowServiceNamespace.cs
- DataErrorValidationRule.cs
- XmlSchemaAttributeGroup.cs
- DataErrorValidationRule.cs
- QilGenerator.cs
- XomlCompilerError.cs
- ComponentTray.cs
- DataGridLengthConverter.cs
- User.cs
- ExtractCollection.cs
- versioninfo.cs
- MetadataItemCollectionFactory.cs
- SmtpMail.cs
- CompiledRegexRunnerFactory.cs
- RtfToXamlLexer.cs
- QuestionEventArgs.cs
- HtmlInputRadioButton.cs
- InvalidCardException.cs
- ComAdminWrapper.cs
- InternalPermissions.cs
- EntityTemplateUserControl.cs
- DataGridViewTopLeftHeaderCell.cs
- DateTimeStorage.cs
- Debug.cs
- ETagAttribute.cs
- PagesChangedEventArgs.cs
- ObjectItemLoadingSessionData.cs
- precedingsibling.cs
- PolyBezierSegment.cs
- VectorAnimationUsingKeyFrames.cs
- Popup.cs
- ComponentResourceKey.cs
- StackSpiller.cs
- SendingRequestEventArgs.cs
- Converter.cs
- OptimisticConcurrencyException.cs
- RelationshipDetailsCollection.cs
- WindowsRegion.cs
- RoleManagerModule.cs
- TemplateManager.cs
- SponsorHelper.cs
- WebPartDisplayModeEventArgs.cs
- RoleManagerModule.cs
- InputLangChangeEvent.cs
- EmptyQuery.cs
- DragAssistanceManager.cs
- Context.cs
- EventLogPermissionAttribute.cs
- ClipboardProcessor.cs
- SqlCacheDependencySection.cs
- FixedPageStructure.cs
- ModelPerspective.cs
- ToolBarButtonDesigner.cs
- LZCodec.cs
- RequiredAttributeAttribute.cs
- TabControlDesigner.cs
- MatrixTransform.cs
- XamlPoint3DCollectionSerializer.cs
- EntityModelBuildProvider.cs
- ListParagraph.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- Point4D.cs
- OracleMonthSpan.cs
- EntitySetRetriever.cs
- xdrvalidator.cs
- DbQueryCommandTree.cs
- TransactionFlowElement.cs
- GcHandle.cs
- MappingSource.cs
- FixedDocumentPaginator.cs
- keycontainerpermission.cs
- SecuritySessionSecurityTokenProvider.cs
- NonClientArea.cs
- NamedElement.cs
- IxmlLineInfo.cs
- Axis.cs
- PropertyManager.cs
- DrawingBrush.cs
- SpoolingTask.cs
- DefaultEvaluationContext.cs
- Rss20FeedFormatter.cs
- RSAPKCS1SignatureFormatter.cs
- EncoderFallback.cs
- NamespaceInfo.cs
- MobileTemplatedControlDesigner.cs
- TraceUtility.cs
- CodeTypeMember.cs
- NamespaceInfo.cs
- Merger.cs
- TabletDevice.cs
- SearchForVirtualItemEventArgs.cs
- HTTPNotFoundHandler.cs