Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BCryptNative.cs
- GridViewCancelEditEventArgs.cs
- ViewSimplifier.cs
- RelationshipManager.cs
- HtmlEmptyTagControlBuilder.cs
- CommandCollectionEditor.cs
- PresentationAppDomainManager.cs
- DataGridViewCellMouseEventArgs.cs
- ZoneMembershipCondition.cs
- CroppedBitmap.cs
- ImageBrush.cs
- MemberExpression.cs
- ScriptIgnoreAttribute.cs
- SmiRequestExecutor.cs
- SiteMapSection.cs
- FileDialog_Vista.cs
- DataSourceView.cs
- ClientSession.cs
- SiteMapNodeItem.cs
- AutomationProperties.cs
- WSHttpSecurity.cs
- EdmConstants.cs
- ClaimTypes.cs
- XsltConvert.cs
- ChtmlCalendarAdapter.cs
- WebDisplayNameAttribute.cs
- BasicHttpSecurity.cs
- CustomErrorsSection.cs
- TrackPoint.cs
- XPathPatternBuilder.cs
- ISessionStateStore.cs
- InputQueueChannelAcceptor.cs
- ObjectParameter.cs
- PenLineCapValidation.cs
- XmlSchemaIdentityConstraint.cs
- CalendarTable.cs
- PathFigure.cs
- ToolBar.cs
- InfoCardService.cs
- ImageSource.cs
- Camera.cs
- ColorTranslator.cs
- SqlParameterizer.cs
- WebMessageEncodingElement.cs
- HttpModulesSection.cs
- UserNameSecurityTokenProvider.cs
- MimePart.cs
- MulticastDelegate.cs
- CompilerInfo.cs
- ClientRuntimeConfig.cs
- HTTPNotFoundHandler.cs
- DocumentViewerHelper.cs
- HierarchicalDataBoundControl.cs
- SimpleHandlerBuildProvider.cs
- ProjectionRewriter.cs
- UrlMappingsSection.cs
- GregorianCalendarHelper.cs
- SourceChangedEventArgs.cs
- ListSortDescription.cs
- PartBasedPackageProperties.cs
- RelationshipManager.cs
- OdbcConnectionPoolProviderInfo.cs
- RuntimeHelpers.cs
- DataTableNameHandler.cs
- MenuAutomationPeer.cs
- Int32RectConverter.cs
- DrawTreeNodeEventArgs.cs
- Funcletizer.cs
- AspProxy.cs
- HttpStaticObjectsCollectionWrapper.cs
- ProfilePropertyNameValidator.cs
- SynchronizationHandlesCodeDomSerializer.cs
- MenuItemBinding.cs
- HtmlLabelAdapter.cs
- MissingMethodException.cs
- OdbcUtils.cs
- HorizontalAlignConverter.cs
- InstanceOwnerException.cs
- InputBinder.cs
- ChunkedMemoryStream.cs
- PageThemeParser.cs
- ResourcePermissionBase.cs
- EntitySetBaseCollection.cs
- FrameworkRichTextComposition.cs
- SimpleHandlerFactory.cs
- AudioFormatConverter.cs
- SelectionWordBreaker.cs
- DigitShape.cs
- DBParameter.cs
- CircleHotSpot.cs
- PathSegmentCollection.cs
- StringArrayConverter.cs
- MultiTrigger.cs
- StreamReader.cs
- XmlSchemaException.cs
- BinaryFormatter.cs
- RotationValidation.cs
- DelayedRegex.cs
- OrderByBuilder.cs
- InvokeGenerator.cs