Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAnnotation.cs / 1305376 / XmlSchemaAnnotation.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaAnnotation : XmlSchemaObject {
string id;
XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
XmlAttribute[] moreAttributes;
///
///
/// [To be supplied.]
///
[XmlAttribute("id", DataType = "ID")]
public string Id {
get { return id; }
set { id = value; }
}
///
///
/// [To be supplied.]
///
[XmlElement("documentation", typeof(XmlSchemaDocumentation)),
XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
public XmlSchemaObjectCollection Items {
get { return items; }
}
///
///
/// [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;
}
}
}
// 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 XmlSchemaAnnotation : XmlSchemaObject {
string id;
XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
XmlAttribute[] moreAttributes;
///
///
/// [To be supplied.]
///
[XmlAttribute("id", DataType = "ID")]
public string Id {
get { return id; }
set { id = value; }
}
///
///
/// [To be supplied.]
///
[XmlElement("documentation", typeof(XmlSchemaDocumentation)),
XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
public XmlSchemaObjectCollection Items {
get { return items; }
}
///
///
/// [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;
}
}
}
// 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
- Timer.cs
- SerializationException.cs
- BinaryFormatterWriter.cs
- WasAdminWrapper.cs
- PersonalizationEntry.cs
- ExpanderAutomationPeer.cs
- CalendarBlackoutDatesCollection.cs
- DataGridViewCellStateChangedEventArgs.cs
- versioninfo.cs
- AlignmentYValidation.cs
- LazyTextWriterCreator.cs
- DbParameterCollection.cs
- AggregateNode.cs
- OletxResourceManager.cs
- PackageProperties.cs
- CroppedBitmap.cs
- AttributeEmitter.cs
- XmlCustomFormatter.cs
- ADMembershipProvider.cs
- DateTimeOffsetStorage.cs
- WebPartConnectionsConnectVerb.cs
- ProcessingInstructionAction.cs
- PreviewKeyDownEventArgs.cs
- EpmTargetTree.cs
- EndpointBehaviorElementCollection.cs
- CustomActivityDesigner.cs
- ToolStripDropTargetManager.cs
- NavigationHelper.cs
- RSAOAEPKeyExchangeFormatter.cs
- PictureBox.cs
- TableProvider.cs
- HttpModulesSection.cs
- EdmConstants.cs
- HijriCalendar.cs
- EventTrigger.cs
- BitmapFrameEncode.cs
- ToolStripOverflowButton.cs
- X509UI.cs
- GraphicsContext.cs
- hresults.cs
- CallbackWrapper.cs
- XmlSchemaInferenceException.cs
- ResourceDictionary.cs
- SatelliteContractVersionAttribute.cs
- Pointer.cs
- ItemsPresenter.cs
- DBCSCodePageEncoding.cs
- TabControlEvent.cs
- ElementMarkupObject.cs
- SqlComparer.cs
- PkcsMisc.cs
- CellParaClient.cs
- CodeTypeDelegate.cs
- SR.cs
- WebReferencesBuildProvider.cs
- FormsAuthenticationModule.cs
- RecordConverter.cs
- DispatcherHooks.cs
- FlowSwitch.cs
- ImageCreator.cs
- SignatureHelper.cs
- StatusBarAutomationPeer.cs
- ColumnResizeAdorner.cs
- HotSpotCollection.cs
- ScopelessEnumAttribute.cs
- RepeaterItemEventArgs.cs
- ComponentEditorPage.cs
- ConfigurationManagerHelperFactory.cs
- WindowsPrincipal.cs
- PathStreamGeometryContext.cs
- SqlVisitor.cs
- TimeoutException.cs
- XmlDocumentSerializer.cs
- SoapExtensionTypeElementCollection.cs
- mda.cs
- ClientCredentials.cs
- ScopelessEnumAttribute.cs
- HtmlEmptyTagControlBuilder.cs
- XmlObjectSerializerReadContext.cs
- ProfileGroupSettings.cs
- AdapterDictionary.cs
- RawContentTypeMapper.cs
- FileStream.cs
- DataListItem.cs
- PriorityQueue.cs
- TextCompositionEventArgs.cs
- Int32.cs
- Psha1DerivedKeyGenerator.cs
- ConfigurationManagerInternal.cs
- Guid.cs
- SizeAnimationUsingKeyFrames.cs
- RowToParametersTransformer.cs
- PreDigestedSignedInfo.cs
- XmlnsCompatibleWithAttribute.cs
- RIPEMD160.cs
- ContractDescription.cs
- MethodImplAttribute.cs
- StructuredType.cs
- StructuredType.cs
- XmlSchemaCompilationSettings.cs