Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaChoice.cs / 1 / XmlSchemaChoice.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaChoice : XmlSchemaGroupBase {
XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
///
///
/// [To be supplied.]
///
[XmlElement("element", typeof(XmlSchemaElement)),
XmlElement("group", typeof(XmlSchemaGroupRef)),
XmlElement("choice", typeof(XmlSchemaChoice)),
XmlElement("sequence", typeof(XmlSchemaSequence)),
XmlElement("any", typeof(XmlSchemaAny))]
public override XmlSchemaObjectCollection Items {
get { return items; }
}
internal override bool IsEmpty {
get { return base.IsEmpty /*|| items.Count == 0*/; }
}
internal override void SetItems(XmlSchemaObjectCollection newItems) {
items = newItems;
}
}
}
// 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 XmlSchemaChoice : XmlSchemaGroupBase {
XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
///
///
/// [To be supplied.]
///
[XmlElement("element", typeof(XmlSchemaElement)),
XmlElement("group", typeof(XmlSchemaGroupRef)),
XmlElement("choice", typeof(XmlSchemaChoice)),
XmlElement("sequence", typeof(XmlSchemaSequence)),
XmlElement("any", typeof(XmlSchemaAny))]
public override XmlSchemaObjectCollection Items {
get { return items; }
}
internal override bool IsEmpty {
get { return base.IsEmpty /*|| items.Count == 0*/; }
}
internal override void SetItems(XmlSchemaObjectCollection newItems) {
items = newItems;
}
}
}
// 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
- VirtualDirectoryMapping.cs
- UrlPropertyAttribute.cs
- ForeignKeyFactory.cs
- SolidColorBrush.cs
- Stopwatch.cs
- SqlTopReducer.cs
- MenuTracker.cs
- NetPeerTcpBindingElement.cs
- Panel.cs
- XmlAttributeProperties.cs
- EUCJPEncoding.cs
- XmlSchemaSimpleTypeList.cs
- ParserExtension.cs
- FontInfo.cs
- PropertyEmitterBase.cs
- pingexception.cs
- TransactionFlowBindingElement.cs
- SubtreeProcessor.cs
- FormViewDeleteEventArgs.cs
- D3DImage.cs
- GeneralTransform3DTo2D.cs
- MatrixAnimationUsingPath.cs
- DbConnectionPoolIdentity.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- EntityDataSourceStatementEditorForm.cs
- MetaModel.cs
- SelectorAutomationPeer.cs
- CodeObjectCreateExpression.cs
- EnumCodeDomSerializer.cs
- HttpListenerException.cs
- TraceXPathNavigator.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- DependencyPropertyDescriptor.cs
- BamlTreeNode.cs
- X509Certificate2.cs
- RecordConverter.cs
- dbenumerator.cs
- EditorResources.cs
- SchemaImporter.cs
- SemanticBasicElement.cs
- SerializerWriterEventHandlers.cs
- WebPartAddingEventArgs.cs
- Dictionary.cs
- QualifiedCellIdBoolean.cs
- EditingCommands.cs
- Regex.cs
- PresentationTraceSources.cs
- SafeLocalMemHandle.cs
- ChildChangedEventArgs.cs
- DataServiceRequestOfT.cs
- TypeAccessException.cs
- EventsTab.cs
- SqlParameterizer.cs
- TextSpan.cs
- ToolStripItemClickedEventArgs.cs
- DataGridViewRowStateChangedEventArgs.cs
- Vector3DValueSerializer.cs
- QuaternionIndependentAnimationStorage.cs
- BatchParser.cs
- CheckBox.cs
- ToolboxSnapDragDropEventArgs.cs
- CodeDomConfigurationHandler.cs
- BaseInfoTable.cs
- ResourcePermissionBase.cs
- CharacterShapingProperties.cs
- SchemaComplexType.cs
- CompressedStack.cs
- RoleManagerModule.cs
- DictionaryChange.cs
- TableStyle.cs
- TextOnlyOutput.cs
- SourceFileBuildProvider.cs
- GenericXmlSecurityTokenAuthenticator.cs
- infer.cs
- SqlCacheDependencyDatabaseCollection.cs
- ContentElementAutomationPeer.cs
- ScriptComponentDescriptor.cs
- SvcMapFile.cs
- ApplicationServicesHostFactory.cs
- CqlBlock.cs
- BaseAsyncResult.cs
- Label.cs
- Environment.cs
- PackWebRequestFactory.cs
- GeometryHitTestResult.cs
- ListSortDescription.cs
- DiscoveryExceptionDictionary.cs
- XPathDescendantIterator.cs
- MD5.cs
- ObjectAnimationUsingKeyFrames.cs
- EntityContainer.cs
- Lock.cs
- WorkflowOperationAsyncResult.cs
- HttpAsyncResult.cs
- SqlReorderer.cs
- XmlSerializerSection.cs
- QueryLifecycle.cs
- XmlReaderSettings.cs
- localization.cs