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
- DynamicFilter.cs
- uribuilder.cs
- _DigestClient.cs
- _OverlappedAsyncResult.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TextDpi.cs
- ThicknessAnimationUsingKeyFrames.cs
- BrowserDefinition.cs
- AnnotationResourceChangedEventArgs.cs
- DataServiceRequestOfT.cs
- BindingContext.cs
- TreeBuilderXamlTranslator.cs
- DoubleKeyFrameCollection.cs
- SimpleWebHandlerParser.cs
- SerializerWriterEventHandlers.cs
- Literal.cs
- DocumentSequenceHighlightLayer.cs
- LineBreakRecord.cs
- VectorConverter.cs
- ConfigXmlWhitespace.cs
- HScrollProperties.cs
- AlphabeticalEnumConverter.cs
- InsufficientMemoryException.cs
- MatchAllMessageFilter.cs
- RotationValidation.cs
- ArrayElementGridEntry.cs
- VScrollProperties.cs
- XmlSerializer.cs
- BitmapInitialize.cs
- RulePatternOps.cs
- AstTree.cs
- assemblycache.cs
- VariableQuery.cs
- CodeLabeledStatement.cs
- TabPanel.cs
- CatalogZone.cs
- SQLRoleProvider.cs
- CompositeFontFamily.cs
- Point.cs
- UIElementIsland.cs
- ApplicationInfo.cs
- EdmSchemaError.cs
- FieldAccessException.cs
- DataExpression.cs
- SqlServer2KCompatibilityCheck.cs
- Span.cs
- CultureTable.cs
- VisualStyleInformation.cs
- RsaElement.cs
- PolyLineSegmentFigureLogic.cs
- Triplet.cs
- EntityException.cs
- GridViewDesigner.cs
- NavigatorInput.cs
- SynchronizedPool.cs
- SafeFileHandle.cs
- ClickablePoint.cs
- IsolatedStoragePermission.cs
- CachedTypeface.cs
- XmlAttributes.cs
- KeyedPriorityQueue.cs
- Point4DValueSerializer.cs
- PreloadedPackages.cs
- Events.cs
- FrameworkElement.cs
- AppDomainGrammarProxy.cs
- ApplyImportsAction.cs
- CompositeFontParser.cs
- shaperfactoryquerycachekey.cs
- TreeViewTemplateSelector.cs
- RawStylusSystemGestureInputReport.cs
- CngKeyCreationParameters.cs
- BmpBitmapEncoder.cs
- MetabaseSettingsIis7.cs
- TransformValueSerializer.cs
- TransactionFlowOption.cs
- MenuItemStyleCollection.cs
- ApplicationManager.cs
- TablePattern.cs
- IISUnsafeMethods.cs
- InstanceKeyCollisionException.cs
- DataContractJsonSerializer.cs
- typedescriptorpermission.cs
- ContentTypeSettingClientMessageFormatter.cs
- ListViewInsertEventArgs.cs
- XmlObjectSerializerReadContext.cs
- ModelVisual3D.cs
- TextModifier.cs
- VectorAnimationUsingKeyFrames.cs
- ZipIOCentralDirectoryBlock.cs
- GlyphInfoList.cs
- ListViewGroupItemCollection.cs
- InlineCategoriesDocument.cs
- SqlNode.cs
- ScrollBar.cs
- ObjectParameter.cs
- HwndSubclass.cs
- FilterQuery.cs
- XmlSchemaAll.cs
- AtlasWeb.Designer.cs