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 / 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
- NumericUpDownAcceleration.cs
- CompilerTypeWithParams.cs
- TemplatePagerField.cs
- CompilerResults.cs
- XmlSchemaElement.cs
- ObjectView.cs
- ManualResetEventSlim.cs
- externdll.cs
- EntityWithKeyStrategy.cs
- DetailsViewInsertedEventArgs.cs
- CollectionType.cs
- SystemIPGlobalStatistics.cs
- InternalCache.cs
- BitmapDownload.cs
- AutomationPeer.cs
- GridViewUpdatedEventArgs.cs
- ClientOptions.cs
- XmlLanguageConverter.cs
- CatalogZoneAutoFormat.cs
- XmlWrappingReader.cs
- UnmanagedMemoryStream.cs
- HtmlToClrEventProxy.cs
- LocatorGroup.cs
- Geometry.cs
- MaterialCollection.cs
- LinearGradientBrush.cs
- XmlArrayAttribute.cs
- ApplicationFileParser.cs
- HttpProcessUtility.cs
- ToolTip.cs
- dbdatarecord.cs
- XPathNode.cs
- EntityWithKeyStrategy.cs
- EntityDesignerBuildProvider.cs
- TableCellCollection.cs
- SoapIncludeAttribute.cs
- SequentialWorkflowRootDesigner.cs
- ProfileSettings.cs
- ResourceAttributes.cs
- GlyphTypeface.cs
- MouseGestureConverter.cs
- Rectangle.cs
- bidPrivateBase.cs
- Activator.cs
- ImageKeyConverter.cs
- BitmapEffectInputData.cs
- CompilerGeneratedAttribute.cs
- ActivityBuilderXamlWriter.cs
- DBConnection.cs
- SimpleNameService.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WindowsGraphicsWrapper.cs
- RightsManagementEncryptedStream.cs
- FacetDescription.cs
- CustomValidator.cs
- DataGridPagerStyle.cs
- NTAccount.cs
- Vector3D.cs
- MasterPageBuildProvider.cs
- XpsS0ValidatingLoader.cs
- ChainOfDependencies.cs
- PlatformCulture.cs
- CodeVariableReferenceExpression.cs
- ArrangedElement.cs
- ServiceDesigner.cs
- AssertSection.cs
- CircleHotSpot.cs
- ResourcesChangeInfo.cs
- XmlQueryTypeFactory.cs
- SettingsBase.cs
- SqlTopReducer.cs
- HebrewCalendar.cs
- DeadCharTextComposition.cs
- FormClosedEvent.cs
- Mappings.cs
- VariableAction.cs
- SimpleTypeResolver.cs
- BuildDependencySet.cs
- UIElement.cs
- RelatedCurrencyManager.cs
- PageCodeDomTreeGenerator.cs
- TextParentUndoUnit.cs
- QueryGenerator.cs
- IdentityManager.cs
- TransportDefaults.cs
- WpfWebRequestHelper.cs
- PackageRelationshipSelector.cs
- LocalizedNameDescriptionPair.cs
- SecurityHeaderLayout.cs
- Serializer.cs
- DocumentViewerConstants.cs
- ContextConfiguration.cs
- SqlDelegatedTransaction.cs
- ObjectTag.cs
- WebPartEditVerb.cs
- SqlParameterCollection.cs
- NameScope.cs
- HttpModulesSection.cs
- TextSerializer.cs
- CompositeActivityTypeDescriptorProvider.cs