Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaDocumentation.cs / 1305376 / XmlSchemaDocumentation.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.ComponentModel;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaDocumentation : XmlSchemaObject {
string source;
string language;
XmlNode[] markup;
static XmlSchemaSimpleType languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language",XmlReservedNs.NsXs));
///
///
/// [To be supplied.]
///
[XmlAttribute("source", DataType="anyURI")]
public string Source {
get { return source; }
set { source = value; }
}
///
///
/// [To be supplied.]
///
[XmlAttribute("xml:lang")]
public string Language {
get { return language; }
set { language = (string)languageType.Datatype.ParseValue(value, (XmlNameTable) null, (IXmlNamespaceResolver) null); }
}
///
///
/// [To be supplied.]
///
[XmlText(), XmlAnyElement]
public XmlNode[] Markup {
get { return markup; }
set { markup = value; }
}
}
}
// 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.ComponentModel;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaDocumentation : XmlSchemaObject {
string source;
string language;
XmlNode[] markup;
static XmlSchemaSimpleType languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language",XmlReservedNs.NsXs));
///
///
/// [To be supplied.]
///
[XmlAttribute("source", DataType="anyURI")]
public string Source {
get { return source; }
set { source = value; }
}
///
///
/// [To be supplied.]
///
[XmlAttribute("xml:lang")]
public string Language {
get { return language; }
set { language = (string)languageType.Datatype.ParseValue(value, (XmlNameTable) null, (IXmlNamespaceResolver) null); }
}
///
///
/// [To be supplied.]
///
[XmlText(), XmlAnyElement]
public XmlNode[] Markup {
get { return markup; }
set { markup = value; }
}
}
}
// 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
- XmlDictionaryWriter.cs
- AdditionalEntityFunctions.cs
- DesignTimeParseData.cs
- ResourceWriter.cs
- WinCategoryAttribute.cs
- TrimSurroundingWhitespaceAttribute.cs
- LassoHelper.cs
- RuleSettingsCollection.cs
- ObjectDataSourceSelectingEventArgs.cs
- ThreadExceptionDialog.cs
- UpdateException.cs
- DataShape.cs
- ImmutableCollection.cs
- Point4DConverter.cs
- DataGridCaption.cs
- CodeChecksumPragma.cs
- TreeNodeStyle.cs
- SerialStream.cs
- InvalidOperationException.cs
- DesignerActionKeyboardBehavior.cs
- ToolboxItemFilterAttribute.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SqlVisitor.cs
- BuildProvider.cs
- GeometryHitTestParameters.cs
- ipaddressinformationcollection.cs
- SQLMembershipProvider.cs
- Normalization.cs
- TrustManagerPromptUI.cs
- ResponseStream.cs
- ConstraintManager.cs
- SafeNativeMethods.cs
- Vector3DAnimationBase.cs
- ApplicationFileParser.cs
- Rotation3DKeyFrameCollection.cs
- MSG.cs
- Request.cs
- WebMessageEncoderFactory.cs
- XComponentModel.cs
- ExpressionBinding.cs
- FlagsAttribute.cs
- ReadOnlyDataSourceView.cs
- SqlStream.cs
- FileInfo.cs
- AccessorTable.cs
- EpmSyndicationContentSerializer.cs
- Iis7Helper.cs
- JoinCqlBlock.cs
- GradientBrush.cs
- DbParameterCollectionHelper.cs
- AppDomainProtocolHandler.cs
- OptimisticConcurrencyException.cs
- DispatcherExceptionFilterEventArgs.cs
- FacetValues.cs
- RenderData.cs
- Triplet.cs
- JoinGraph.cs
- EdmComplexPropertyAttribute.cs
- ManagedFilter.cs
- BitStream.cs
- ADMembershipUser.cs
- BypassElement.cs
- CustomBindingElement.cs
- FormsAuthentication.cs
- EnumValidator.cs
- ValidationException.cs
- BitmapEffectGroup.cs
- TryExpression.cs
- VirtualPath.cs
- StructureChangedEventArgs.cs
- SerializationEventsCache.cs
- SessionParameter.cs
- RequestTimeoutManager.cs
- TreeIterator.cs
- XmlBaseReader.cs
- DataRelation.cs
- XmlSerializationWriter.cs
- WriteFileContext.cs
- MarkupExtensionParser.cs
- WebPageTraceListener.cs
- DataServiceException.cs
- DrawingVisual.cs
- Positioning.cs
- TreeViewImageIndexConverter.cs
- XPathEmptyIterator.cs
- WebScriptServiceHostFactory.cs
- TableLayoutPanelDesigner.cs
- ExpressionStringBuilder.cs
- CancellationScope.cs
- ServiceBehaviorElementCollection.cs
- EventHandlersStore.cs
- Light.cs
- SelectingProviderEventArgs.cs
- WindowsEditBox.cs
- BooleanSwitch.cs
- EntityTemplateFactory.cs
- XmlSchemaCollection.cs
- VarInfo.cs
- PerformanceCounterManager.cs
- Membership.cs