Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / Serialization / XmlChoiceIdentifierAttribute.cs / 1 / XmlChoiceIdentifierAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
using System.Xml.Schema;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=false)]
public class XmlChoiceIdentifierAttribute : System.Attribute {
string name;
///
///
/// [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; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
using System.Xml.Schema;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=false)]
public class XmlChoiceIdentifierAttribute : System.Attribute {
string name;
///
///
/// [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; }
}
}
}
// 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
- GuidelineCollection.cs
- ByteStreamMessageEncodingElement.cs
- CanExecuteRoutedEventArgs.cs
- SafeNativeMethods.cs
- _BufferOffsetSize.cs
- XmlSortKey.cs
- Parser.cs
- UrlRoutingHandler.cs
- RawUIStateInputReport.cs
- DesignerCategoryAttribute.cs
- SqlDataSourceView.cs
- GifBitmapEncoder.cs
- SystemResourceHost.cs
- ButtonStandardAdapter.cs
- TextElementEditingBehaviorAttribute.cs
- DetailsViewPageEventArgs.cs
- ClientProxyGenerator.cs
- PolicyFactory.cs
- Helpers.cs
- _NtlmClient.cs
- NegationPusher.cs
- TransformPattern.cs
- PasswordDeriveBytes.cs
- QueryStatement.cs
- StylusButtonEventArgs.cs
- CustomSignedXml.cs
- basevalidator.cs
- InvalidFilterCriteriaException.cs
- ObjectNotFoundException.cs
- Container.cs
- CodeAttachEventStatement.cs
- MultiSelector.cs
- DuplicateWaitObjectException.cs
- AttributeCollection.cs
- DurableErrorHandler.cs
- QilStrConcat.cs
- ExpressionBuilderContext.cs
- AssemblyResourceLoader.cs
- DesignerActionTextItem.cs
- TextContainerChangeEventArgs.cs
- MultipartContentParser.cs
- MSAAEventDispatcher.cs
- AdornerDecorator.cs
- KeyValueConfigurationCollection.cs
- EntityRecordInfo.cs
- LocalTransaction.cs
- DelayLoadType.cs
- CombinedTcpChannel.cs
- RangeValueProviderWrapper.cs
- RijndaelManagedTransform.cs
- MailAddressParser.cs
- EntryWrittenEventArgs.cs
- NavigatorInput.cs
- CodeAttributeArgumentCollection.cs
- TabletDeviceInfo.cs
- FocusChangedEventArgs.cs
- DataGridTablesFactory.cs
- TemplateBindingExpression.cs
- SiteMapDesignerDataSourceView.cs
- TextureBrush.cs
- MarginCollapsingState.cs
- DocumentXmlWriter.cs
- TypeUnloadedException.cs
- Exceptions.cs
- ReadOnlyCollectionBase.cs
- HtmlImage.cs
- ContainerActivationHelper.cs
- UnsafeNativeMethodsPenimc.cs
- HandlerBase.cs
- PaintValueEventArgs.cs
- ZipFileInfoCollection.cs
- ObjectStorage.cs
- BaseAppDomainProtocolHandler.cs
- BamlRecords.cs
- TextureBrush.cs
- ImageInfo.cs
- Sql8ConformanceChecker.cs
- WsdlBuildProvider.cs
- UrlPropertyAttribute.cs
- SignatureHelper.cs
- PolygonHotSpot.cs
- TimeZoneNotFoundException.cs
- DataBindEngine.cs
- PanelContainerDesigner.cs
- DataPagerField.cs
- GetWinFXPath.cs
- RelatedView.cs
- ISAPIWorkerRequest.cs
- ZipIOExtraFieldPaddingElement.cs
- XmlCharCheckingReader.cs
- NavigationPropertyEmitter.cs
- SecurityElement.cs
- System.Data_BID.cs
- QueryOperator.cs
- SaveCardRequest.cs
- XmlUrlResolver.cs
- TransformerInfo.cs
- MessageProtectionOrder.cs
- FilePresentation.cs
- LayoutTable.cs