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
- CompilerCollection.cs
- SqlDelegatedTransaction.cs
- IteratorFilter.cs
- HistoryEventArgs.cs
- PowerModeChangedEventArgs.cs
- LinkedResource.cs
- PtsCache.cs
- JpegBitmapDecoder.cs
- OraclePermissionAttribute.cs
- Rotation3DAnimation.cs
- Int32Converter.cs
- DataPagerFieldCommandEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- RepeaterItemEventArgs.cs
- NativeConfigurationLoader.cs
- DataViewListener.cs
- Token.cs
- TextFormatterImp.cs
- QuinticEase.cs
- DataGridHeaderBorder.cs
- TranslateTransform.cs
- DataPagerFieldCommandEventArgs.cs
- ChannelManagerHelpers.cs
- BrowserCapabilitiesFactoryBase.cs
- SecureUICommand.cs
- MetabaseSettings.cs
- Converter.cs
- Sql8ExpressionRewriter.cs
- RawStylusActions.cs
- UnionQueryOperator.cs
- FrameworkElementFactoryMarkupObject.cs
- ContractTypeNameCollection.cs
- SortFieldComparer.cs
- ManagementExtension.cs
- TemplateBuilder.cs
- ServicePointManager.cs
- HideDisabledControlAdapter.cs
- BevelBitmapEffect.cs
- WizardPanel.cs
- RangeBase.cs
- ZipIOExtraFieldZip64Element.cs
- CompositionAdorner.cs
- GridViewPageEventArgs.cs
- MobileErrorInfo.cs
- NullableConverter.cs
- OnOperation.cs
- DecimalAnimationUsingKeyFrames.cs
- SoapMessage.cs
- IItemContainerGenerator.cs
- ResourceSetExpression.cs
- SemanticResolver.cs
- TemplateParser.cs
- StrokeNodeEnumerator.cs
- DesignerForm.cs
- Form.cs
- RuntimeCompatibilityAttribute.cs
- EditableLabelControl.cs
- WebPartDeleteVerb.cs
- AccessKeyManager.cs
- DocumentApplicationJournalEntry.cs
- KnownBoxes.cs
- MappingModelBuildProvider.cs
- AnchoredBlock.cs
- FontConverter.cs
- XmlSubtreeReader.cs
- ViewManager.cs
- EmptyCollection.cs
- ConfigurationElement.cs
- SamlEvidence.cs
- XmlNamespaceManager.cs
- ConstNode.cs
- DetailsViewInsertedEventArgs.cs
- XPathPatternParser.cs
- RadioButtonRenderer.cs
- TypeContext.cs
- ToolBarButton.cs
- NamespaceDecl.cs
- SelectorAutomationPeer.cs
- SafeReversePInvokeHandle.cs
- CapacityStreamGeometryContext.cs
- DecoderFallback.cs
- DataControlFieldCell.cs
- TextEndOfParagraph.cs
- GroupItem.cs
- SafeFileMappingHandle.cs
- AccessDataSource.cs
- EventDriven.cs
- TableRowGroupCollection.cs
- PlainXmlDeserializer.cs
- DrawItemEvent.cs
- SortExpressionBuilder.cs
- AnnotationComponentManager.cs
- TextBoxAutomationPeer.cs
- ProgressBarRenderer.cs
- NullReferenceException.cs
- Evaluator.cs
- DrawingAttributesDefaultValueFactory.cs
- WebPartRestoreVerb.cs
- TreeViewImageIndexConverter.cs
- xmlsaver.cs