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
///
///
/// [To be supplied.]
///
[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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- storepermissionattribute.cs
- StringFormat.cs
- DataControlFieldHeaderCell.cs
- TypeConverterAttribute.cs
- DataSourceHelper.cs
- SafeNativeMethods.cs
- InputScope.cs
- XmlHierarchicalEnumerable.cs
- EncoderParameter.cs
- InheritanceContextHelper.cs
- Buffer.cs
- AnimationLayer.cs
- DiscoveryClientOutputChannel.cs
- DataGridViewHitTestInfo.cs
- RegexReplacement.cs
- ActivityExecutorSurrogate.cs
- ControlType.cs
- ToolboxItemCollection.cs
- IPHostEntry.cs
- InkCanvasInnerCanvas.cs
- ProxyWebPartManager.cs
- DecoderFallback.cs
- ListBoxItemAutomationPeer.cs
- GetIndexBinder.cs
- SqlDataSourceSelectingEventArgs.cs
- SerialStream.cs
- OracleConnectionString.cs
- LoginCancelEventArgs.cs
- FloaterParaClient.cs
- RowToFieldTransformer.cs
- BinaryObjectReader.cs
- CodeChecksumPragma.cs
- CheckBox.cs
- SafeHandles.cs
- TabControl.cs
- TemplateControlBuildProvider.cs
- MetaType.cs
- Parser.cs
- XmlComplianceUtil.cs
- PropertyGeneratedEventArgs.cs
- NamespaceImport.cs
- ItemList.cs
- DefaultValueTypeConverter.cs
- CryptoApi.cs
- InternalResources.cs
- RijndaelManaged.cs
- HtmlTable.cs
- CodeActivityMetadata.cs
- EventLogPermissionHolder.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WpfWebRequestHelper.cs
- SelectionProviderWrapper.cs
- ActivityTypeResolver.xaml.cs
- StandardCommands.cs
- PaintValueEventArgs.cs
- TaskHelper.cs
- ServiceModelConfiguration.cs
- KeyValueInternalCollection.cs
- BitmapData.cs
- TcpActivation.cs
- ProfilePropertySettings.cs
- SessionStateUtil.cs
- ApplicationManager.cs
- StrokeNodeOperations.cs
- CustomTypeDescriptor.cs
- SingleKeyFrameCollection.cs
- DataGridAutoFormat.cs
- MeasureData.cs
- FrameworkTextComposition.cs
- ProfessionalColors.cs
- SqlDataSource.cs
- DataGridViewButtonCell.cs
- XmlUnspecifiedAttribute.cs
- Size3DValueSerializer.cs
- CellTreeSimplifier.cs
- GeometryModel3D.cs
- TextModifier.cs
- ButtonBase.cs
- initElementDictionary.cs
- DynamicPropertyHolder.cs
- ToolStripButton.cs
- SrgsRulesCollection.cs
- ContextStack.cs
- TextReturnReader.cs
- UidManager.cs
- DoubleUtil.cs
- BindingCollection.cs
- SafeNativeMethods.cs
- WebControlsSection.cs
- QueryUtil.cs
- InternalResources.cs
- CTreeGenerator.cs
- BridgeDataRecord.cs
- SqlCommandBuilder.cs
- DeploymentSection.cs
- PathTooLongException.cs
- IndentedWriter.cs
- AssemblyAttributes.cs
- RangeValidator.cs
- ReferenceAssemblyAttribute.cs