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
- XmlExpressionDumper.cs
- MeasureData.cs
- InstanceCompleteException.cs
- SemanticResolver.cs
- FontStyles.cs
- StaticFileHandler.cs
- TextDecorationCollection.cs
- DbReferenceCollection.cs
- IRCollection.cs
- FormsAuthentication.cs
- DuplicateDetector.cs
- XmlAggregates.cs
- AnyReturnReader.cs
- WebPartCatalogCloseVerb.cs
- DataSourceConverter.cs
- ExclusiveCanonicalizationTransform.cs
- PartialTrustHelpers.cs
- CollectionConverter.cs
- Atom10FormatterFactory.cs
- XmlEnumAttribute.cs
- FileAuthorizationModule.cs
- NGCUIElementCollectionSerializerAsync.cs
- BoundField.cs
- OdbcCommandBuilder.cs
- ClusterSafeNativeMethods.cs
- MsmqAppDomainProtocolHandler.cs
- SelectorAutomationPeer.cs
- CopyOfAction.cs
- ScriptingSectionGroup.cs
- TriggerCollection.cs
- mansign.cs
- ComponentConverter.cs
- BuildProvidersCompiler.cs
- FixedDocument.cs
- BooleanAnimationUsingKeyFrames.cs
- PixelShader.cs
- HostingEnvironmentSection.cs
- SmtpReplyReader.cs
- XhtmlBasicCalendarAdapter.cs
- SQLGuidStorage.cs
- MatchingStyle.cs
- RemoteWebConfigurationHost.cs
- ResourceContainer.cs
- HttpCapabilitiesBase.cs
- KeyValueConfigurationElement.cs
- SelectionEditor.cs
- ImagingCache.cs
- DesignerCatalogPartChrome.cs
- DataGridViewColumnCollectionDialog.cs
- StringUtil.cs
- XmlTextReader.cs
- DiagnosticEventProvider.cs
- CustomPopupPlacement.cs
- Queue.cs
- TextSelection.cs
- RegexCapture.cs
- AbstractSvcMapFileLoader.cs
- configsystem.cs
- TraceXPathNavigator.cs
- Pair.cs
- BuildProvider.cs
- DefaultCompensation.cs
- CapabilitiesRule.cs
- TemplateBindingExtension.cs
- _LocalDataStore.cs
- Nodes.cs
- PageThemeBuildProvider.cs
- PropertyConverter.cs
- StyleBamlRecordReader.cs
- EntitySetBase.cs
- SerializationSectionGroup.cs
- BooleanFacetDescriptionElement.cs
- _Win32.cs
- EmbeddedMailObjectsCollection.cs
- InkCanvasSelection.cs
- DataControlHelper.cs
- XmlSchemaImporter.cs
- SoapMessage.cs
- FloatUtil.cs
- BamlLocalizer.cs
- ObjectView.cs
- CompModSwitches.cs
- GlobalEventManager.cs
- TypeToken.cs
- RequestDescription.cs
- SettingsSection.cs
- EnumerableCollectionView.cs
- CheckBoxPopupAdapter.cs
- HtmlContainerControl.cs
- Header.cs
- TextInfo.cs
- TextContainerChangeEventArgs.cs
- ListBoxItemWrapperAutomationPeer.cs
- StyleHelper.cs
- PeerCollaboration.cs
- Debug.cs
- ScriptResourceInfo.cs
- TemplateBaseAction.cs
- filewebresponse.cs
- ToolboxBitmapAttribute.cs