Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / XmlDocumentFieldSchema.cs / 1 / XmlDocumentFieldSchema.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System.Collections; using System.Diagnostics; using System.Xml; using System.Xml.XPath; ////// A class to expose hierarchical schema from an XmlDocument object. /// This is used by data source designers to enable data-bound to /// traverse their schema at design time. /// internal sealed class XmlDocumentFieldSchema : IDataSourceFieldSchema { private string _name; public XmlDocumentFieldSchema(string name) { Debug.Assert(name != null && name.Length > 0); _name = name; } public Type DataType { get { return typeof(string); } } public bool Identity { get { return false; } } public bool IsReadOnly { get { return false; } } public bool IsUnique { get { return false; } } public int Length { get { return -1; } } public string Name { get { return _name; } } public bool Nullable { get { return true; } } public int Precision { get { return -1; } } public bool PrimaryKey { get { return false; } } public int Scale { get { return -1; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionContext.cs
- GlobalItem.cs
- WeakReferenceKey.cs
- TypeSource.cs
- VisualStyleRenderer.cs
- SessionParameter.cs
- EventProvider.cs
- EmptyImpersonationContext.cs
- AjaxFrameworkAssemblyAttribute.cs
- TextBreakpoint.cs
- SystemIcmpV6Statistics.cs
- DataGridViewCellStyleConverter.cs
- SAPIEngineTypes.cs
- FamilyMapCollection.cs
- DependencyPropertyConverter.cs
- LineInfo.cs
- VideoDrawing.cs
- AssemblyFilter.cs
- EntityTypeEmitter.cs
- formatstringdialog.cs
- InvalidPrinterException.cs
- RadialGradientBrush.cs
- XmlSchemaCompilationSettings.cs
- MenuCommand.cs
- SiteMapProvider.cs
- WorkflowMarkupSerializerMapping.cs
- SingleAnimation.cs
- ISFClipboardData.cs
- DeferredReference.cs
- PreDigestedSignedInfo.cs
- WebHostScriptMappingsInstallComponent.cs
- DataGridViewBand.cs
- Pair.cs
- ScriptBehaviorDescriptor.cs
- AdRotator.cs
- SeekStoryboard.cs
- MenuEventArgs.cs
- EarlyBoundInfo.cs
- ContentFilePart.cs
- DataGridViewRowEventArgs.cs
- MessageQueueException.cs
- TemplateModeChangedEventArgs.cs
- StyleTypedPropertyAttribute.cs
- RegionInfo.cs
- TextSegment.cs
- XPathPatternBuilder.cs
- CodeDelegateInvokeExpression.cs
- InheritedPropertyChangedEventArgs.cs
- XsdValidatingReader.cs
- BroadcastEventHelper.cs
- LineSegment.cs
- KnownTypes.cs
- TableCell.cs
- WindowsIdentity.cs
- DesignerImageAdapter.cs
- DbProviderManifest.cs
- LayoutTable.cs
- SqlExpressionNullability.cs
- RubberbandSelector.cs
- TextEditorSpelling.cs
- RowsCopiedEventArgs.cs
- QueryStringHandler.cs
- StorageMappingItemLoader.cs
- ScrollContentPresenter.cs
- SessionPageStateSection.cs
- DataControlLinkButton.cs
- DescendantOverDescendantQuery.cs
- StyleSheet.cs
- NetDispatcherFaultException.cs
- DisplayInformation.cs
- QilNode.cs
- BamlLocalizableResource.cs
- Paragraph.cs
- ImageListUtils.cs
- Paragraph.cs
- JsonSerializer.cs
- QilXmlWriter.cs
- WindowsScroll.cs
- BinaryHeap.cs
- DisplayMemberTemplateSelector.cs
- SqlNode.cs
- StylusLogic.cs
- PhoneCall.cs
- Site.cs
- WindowsRebar.cs
- ProjectionCamera.cs
- EntitySqlException.cs
- ArrayTypeMismatchException.cs
- CompileXomlTask.cs
- DelegatingTypeDescriptionProvider.cs
- _AcceptOverlappedAsyncResult.cs
- LinearQuaternionKeyFrame.cs
- nulltextcontainer.cs
- List.cs
- Int16AnimationBase.cs
- ValidationSummary.cs
- MetaChildrenColumn.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- MimePart.cs
- DoubleUtil.cs