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
- KeyConverter.cs
- PolygonHotSpot.cs
- TextTreePropertyUndoUnit.cs
- Size3D.cs
- BooleanFacetDescriptionElement.cs
- TextEffectResolver.cs
- AlternateViewCollection.cs
- XmlFileEditor.cs
- XmlEnumAttribute.cs
- _OverlappedAsyncResult.cs
- HttpContextWrapper.cs
- RtfFormatStack.cs
- HwndKeyboardInputProvider.cs
- Geometry3D.cs
- GeneralTransform3D.cs
- SymbolPair.cs
- XmlSchemaGroup.cs
- PlatformNotSupportedException.cs
- LocalFileSettingsProvider.cs
- CellParagraph.cs
- login.cs
- EdgeProfileValidation.cs
- Action.cs
- SqlCacheDependencySection.cs
- HTTPNotFoundHandler.cs
- HebrewCalendar.cs
- WebControlParameterProxy.cs
- UxThemeWrapper.cs
- TitleStyle.cs
- TextFormatterImp.cs
- FlowDocumentPage.cs
- DownloadProgressEventArgs.cs
- DateTimeOffsetStorage.cs
- NavigateEvent.cs
- BmpBitmapEncoder.cs
- TextServicesCompartmentEventSink.cs
- ChangeProcessor.cs
- NumberFunctions.cs
- TaskHelper.cs
- PropertyInfo.cs
- InvokeWebService.cs
- UrlMapping.cs
- ExtensionWindowHeader.cs
- RootNamespaceAttribute.cs
- XXXOnTypeBuilderInstantiation.cs
- DbConnectionPoolGroupProviderInfo.cs
- EntityKeyElement.cs
- BinaryWriter.cs
- ActiveXMessageFormatter.cs
- MD5.cs
- SortableBindingList.cs
- BitmapData.cs
- RemoveStoryboard.cs
- PrimitiveType.cs
- XmlQuerySequence.cs
- Transform3DGroup.cs
- BuildManagerHost.cs
- ExpressionBinding.cs
- TypeConverterHelper.cs
- LocalizableAttribute.cs
- Handle.cs
- ContextMenu.cs
- SrgsRulesCollection.cs
- NamedObjectList.cs
- PropertyGroupDescription.cs
- CryptoConfig.cs
- DataGridCaption.cs
- EditorPartCollection.cs
- TargetControlTypeCache.cs
- PropertyTabChangedEvent.cs
- ProfilePropertySettingsCollection.cs
- RegexParser.cs
- Maps.cs
- CompositeCollection.cs
- RepeaterItemEventArgs.cs
- TableLayoutCellPaintEventArgs.cs
- EntityContainerEmitter.cs
- TreeView.cs
- SuppressMergeCheckAttribute.cs
- RequestCacheEntry.cs
- ClientBuildManagerCallback.cs
- DataFormat.cs
- FormViewDeleteEventArgs.cs
- Zone.cs
- CornerRadiusConverter.cs
- DoubleAnimationUsingKeyFrames.cs
- QilScopedVisitor.cs
- EntityTemplateUserControl.cs
- PropertyEmitterBase.cs
- PasswordRecovery.cs
- Array.cs
- DesignerToolStripControlHost.cs
- CaseInsensitiveOrdinalStringComparer.cs
- RegistrySecurity.cs
- InvokerUtil.cs
- GenericsNotImplementedException.cs
- BaseHashHelper.cs
- MsmqInputChannel.cs
- ElementsClipboardData.cs
- ParameterCollection.cs