Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAnnotation.cs / 1 / XmlSchemaAnnotation.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaAnnotation : XmlSchemaObject {
string id;
XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
XmlAttribute[] moreAttributes;
///
///
/// [To be supplied.]
///
[XmlAttribute("id", DataType = "ID")]
public string Id {
get { return id; }
set { id = value; }
}
///
///
/// [To be supplied.]
///
[XmlElement("documentation", typeof(XmlSchemaDocumentation)),
XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
public XmlSchemaObjectCollection Items {
get { return items; }
}
///
///
/// [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;
}
}
}
// 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 XmlSchemaAnnotation : XmlSchemaObject {
string id;
XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
XmlAttribute[] moreAttributes;
///
///
/// [To be supplied.]
///
[XmlAttribute("id", DataType = "ID")]
public string Id {
get { return id; }
set { id = value; }
}
///
///
/// [To be supplied.]
///
[XmlElement("documentation", typeof(XmlSchemaDocumentation)),
XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
public XmlSchemaObjectCollection Items {
get { return items; }
}
///
///
/// [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;
}
}
}
// 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
- BamlResourceSerializer.cs
- pingexception.cs
- RewritingPass.cs
- WMIInterop.cs
- InstanceOwnerException.cs
- TimelineCollection.cs
- LocationReference.cs
- PowerEase.cs
- IntSecurity.cs
- GridViewSortEventArgs.cs
- PersistenceTypeAttribute.cs
- TypeExtensionConverter.cs
- JsonQNameDataContract.cs
- SrgsDocument.cs
- ExecutionContext.cs
- SQLInt64Storage.cs
- LexicalChunk.cs
- GroupBoxRenderer.cs
- Proxy.cs
- XamlSerializerUtil.cs
- HtmlTable.cs
- DebugHandleTracker.cs
- Util.cs
- columnmapkeybuilder.cs
- Pair.cs
- DbConnectionOptions.cs
- KnownBoxes.cs
- BCLDebug.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ParserHooks.cs
- HttpFileCollection.cs
- FilteredDataSetHelper.cs
- CompoundFileReference.cs
- TextInfo.cs
- CursorConverter.cs
- RenderOptions.cs
- TabControlCancelEvent.cs
- Span.cs
- ScrollEvent.cs
- ConfigurationManagerHelper.cs
- EllipseGeometry.cs
- TypeConverterHelper.cs
- ManagementNamedValueCollection.cs
- OperationCanceledException.cs
- ArraySortHelper.cs
- CompModSwitches.cs
- BuildManager.cs
- UserControl.cs
- OdbcDataAdapter.cs
- DateTimeConstantAttribute.cs
- GuidelineCollection.cs
- InstanceCompleteException.cs
- FileSecurity.cs
- WindowsButton.cs
- CrossContextChannel.cs
- DebugView.cs
- MeshGeometry3D.cs
- UnconditionalPolicy.cs
- ObjectSet.cs
- DoubleStorage.cs
- Decorator.cs
- SelectionEditingBehavior.cs
- GroupBoxAutomationPeer.cs
- UnauthorizedAccessException.cs
- XmlSchemaComplexContentExtension.cs
- ExpressionsCollectionConverter.cs
- SupportingTokenBindingElement.cs
- SqlFormatter.cs
- PageParser.cs
- SelectiveScrollingGrid.cs
- BitmapInitialize.cs
- TextSyndicationContentKindHelper.cs
- DataGridViewCellCollection.cs
- SoapEnumAttribute.cs
- LogicalMethodInfo.cs
- BinaryConverter.cs
- OdbcError.cs
- PolygonHotSpot.cs
- InternalResources.cs
- PrintingPermission.cs
- TableLayoutRowStyleCollection.cs
- X509CertificateCollection.cs
- ServiceOperation.cs
- PageCatalogPart.cs
- Activator.cs
- StandardToolWindows.cs
- InternalsVisibleToAttribute.cs
- LayoutUtils.cs
- QuadraticBezierSegment.cs
- MatrixTransform.cs
- PersonalizationDictionary.cs
- HtmlElement.cs
- ContentPosition.cs
- XmlSerializableWriter.cs
- TailPinnedEventArgs.cs
- FilterableAttribute.cs
- SchemaInfo.cs
- NativeMethods.cs
- UrlPath.cs
- Profiler.cs