Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAnnotated.cs / 1 / XmlSchemaAnnotated.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaAnnotated : XmlSchemaObject {
string id;
XmlSchemaAnnotation annotation;
XmlAttribute[] moreAttributes;
///
///
/// [To be supplied.]
///
[XmlAttribute("id", DataType="ID")]
public string Id {
get { return id; }
set { id = value; }
}
///
///
/// [To be supplied.]
///
[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
public XmlSchemaAnnotation Annotation {
get { return annotation; }
set { annotation = value; }
}
///
///
/// [To be supplied.]
///
[XmlAnyAttribute]
public XmlAttribute[] UnhandledAttributes {
get { return moreAttributes; }
set { moreAttributes = value; }
}
[XmlIgnore]
internal override string IdAttribute {
get { return Id; }
set { Id = value; }
}
internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
this.moreAttributes = moreAttributes;
}
internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
this.annotation = annotation;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaAnnotated : XmlSchemaObject {
string id;
XmlSchemaAnnotation annotation;
XmlAttribute[] moreAttributes;
///
///
/// [To be supplied.]
///
[XmlAttribute("id", DataType="ID")]
public string Id {
get { return id; }
set { id = value; }
}
///
///
/// [To be supplied.]
///
[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
public XmlSchemaAnnotation Annotation {
get { return annotation; }
set { annotation = value; }
}
///
///
/// [To be supplied.]
///
[XmlAnyAttribute]
public XmlAttribute[] UnhandledAttributes {
get { return moreAttributes; }
set { moreAttributes = value; }
}
[XmlIgnore]
internal override string IdAttribute {
get { return Id; }
set { Id = value; }
}
internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
this.moreAttributes = moreAttributes;
}
internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
this.annotation = annotation;
}
}
}
// 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
- ConfigurationSectionCollection.cs
- ToolStripDropDown.cs
- TextOnlyOutput.cs
- DataGridViewToolTip.cs
- TextBlockAutomationPeer.cs
- CalendarItem.cs
- GeneralTransform.cs
- RoutedEvent.cs
- BamlLocalizableResource.cs
- LogLogRecordEnumerator.cs
- EntityConnectionStringBuilder.cs
- XmlSerializableReader.cs
- CollectionViewProxy.cs
- rsa.cs
- CategoryGridEntry.cs
- XPathNodeList.cs
- ReadWriteSpinLock.cs
- SimpleMailWebEventProvider.cs
- CopyNamespacesAction.cs
- OnOperation.cs
- MethodCallConverter.cs
- WorkflowServiceHost.cs
- TypeSystemProvider.cs
- ECDiffieHellman.cs
- MachineKeySection.cs
- InternalMappingException.cs
- XsltException.cs
- Vector3DCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- RelationshipNavigation.cs
- ClaimComparer.cs
- ClusterRegistryConfigurationProvider.cs
- DateTime.cs
- _MultipleConnectAsync.cs
- WpfSharedBamlSchemaContext.cs
- ListenerSessionConnectionReader.cs
- LocalizabilityAttribute.cs
- HttpHandlerAction.cs
- RIPEMD160.cs
- WsdlBuildProvider.cs
- Permission.cs
- SimpleTextLine.cs
- DllHostedComPlusServiceHost.cs
- TableHeaderCell.cs
- TableCellCollection.cs
- RepeatInfo.cs
- CacheSection.cs
- ToolboxComponentsCreatedEventArgs.cs
- ResetableIterator.cs
- LogReserveAndAppendState.cs
- ObjectReferenceStack.cs
- AuthenticationConfig.cs
- SimpleRecyclingCache.cs
- EndOfStreamException.cs
- VBIdentifierName.cs
- TableRow.cs
- KeyValuePairs.cs
- DataRecordInfo.cs
- FixUp.cs
- LassoSelectionBehavior.cs
- PriorityQueue.cs
- Nullable.cs
- ByeMessageApril2005.cs
- CodeSnippetCompileUnit.cs
- KerberosSecurityTokenAuthenticator.cs
- MatrixIndependentAnimationStorage.cs
- RadioButton.cs
- PreviewPrintController.cs
- ThemeableAttribute.cs
- SID.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SmtpException.cs
- UTF7Encoding.cs
- BitmapEffectCollection.cs
- _AuthenticationState.cs
- _UriTypeConverter.cs
- CalendarDateRangeChangingEventArgs.cs
- PointHitTestParameters.cs
- LifetimeServices.cs
- AnonymousIdentificationModule.cs
- AuthenticationModeHelper.cs
- StoryFragments.cs
- StagingAreaInputItem.cs
- Pair.cs
- WorkflowEventArgs.cs
- DataGridViewBand.cs
- MergeFailedEvent.cs
- TimerElapsedEvenArgs.cs
- DependencyPropertyValueSerializer.cs
- FormParameter.cs
- DataGridPreparingCellForEditEventArgs.cs
- PathGeometry.cs
- ArgIterator.cs
- AttachedAnnotationChangedEventArgs.cs
- ModelProperty.cs
- EnumValAlphaComparer.cs
- XmlDocument.cs
- FormsAuthenticationEventArgs.cs
- DataControlImageButton.cs
- PrintDocument.cs